Small project with queue and laravel
composer:
"php": ">=5.6.4",
"aws/aws-sdk-php": "^3.36",
"doctrine/common": "2.7.0",
"doctrine/dbal": "^2.5.13",
"guzzlehttp/psr7": "^1.5",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0",
"php-http/curl-client": "^1.7",
"predis/predis": "^1.1",
"quickbooks/v3-php-sdk": "^5.0",
"sentry/sdk": "^2.0",
"sentry/sentry-laravel": "^1.2"
Catch
ErrorException: Error: Uncaught ErrorException: Non-static method App\Services\Sage\SagePayment::createPayments() should not be called statically in /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php:214
Stack trace:
#0 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(214): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Non-static meth...', '/var/www/vendor...', 214, Array)
getsentry/sentry#1 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(106): Sentry\Serializer\AbstractSerializer->serializeCallable('App\Services\Sa...')
getsentry/sentry#2 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(113): Sentry\Serializer\AbstractSerializer->serializeRecursively('App\Services\Sa...', 1)
getsentry/sentry#3 /var/www/vendor/sentry/sentry/src/Serializer/RepresentationSerializer.php(18): Sentry\Serializer\AbstractSerializer->serializeRecursively(Array)
getsentry/sentry#4 /var/www/vendor/sentry/sentry/src/Stacktrace.php(168): Sentry\Serializer\RepresentationSerializer->representationSerialize(A {clipped}
getsentry/sentry#1 vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(214): Sentry\ErrorHandler::handleFatalError
#0 internal: null
But this method didn't calling static around all the project, fully searched;
Small project with queue and laravel
composer:
Catch
ErrorException: Error: Uncaught ErrorException: Non-static method App\Services\Sage\SagePayment::createPayments() should not be called statically in /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php:214
Stack trace:
#0 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(214): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Non-static meth...', '/var/www/vendor...', 214, Array)
getsentry/sentry#1 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(106): Sentry\Serializer\AbstractSerializer->serializeCallable('App\Services\Sa...')
getsentry/sentry#2 /var/www/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(113): Sentry\Serializer\AbstractSerializer->serializeRecursively('App\Services\Sa...', 1)
getsentry/sentry#3 /var/www/vendor/sentry/sentry/src/Serializer/RepresentationSerializer.php(18): Sentry\Serializer\AbstractSerializer->serializeRecursively(Array)
getsentry/sentry#4 /var/www/vendor/sentry/sentry/src/Stacktrace.php(168): Sentry\Serializer\RepresentationSerializer->representationSerialize(A {clipped}
getsentry/sentry#1 vendor/sentry/sentry/src/Serializer/AbstractSerializer.php(214): Sentry\ErrorHandler::handleFatalError
#0 internal: null
But this method didn't calling static around all the project, fully searched;