In-Touch / laravel-newrelic

Laravel NewRelic ServiceProvider
173 stars 48 forks source link

Argument 1 passed to NewrelicServiceProvider must be an instance of JobProcessed, JobProcessing given #60

Closed alies-dev closed 5 years ago

alies-dev commented 5 years ago
Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Intouch\LaravelNewrelic\NewrelicServiceProvider::Intouch\LaravelNewrelic{closure}() must be an instance of Illuminate\Queue\Events\JobProcessed, instance of Illuminate\Queue\Events\JobProcessing given, called in /home/www/releases/1548843103/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 360 in /home/forge/interaction-design.org/releases/1548843103/vendor/intouch/laravel-newrelic/src/Intouch/LaravelNewrelic/NewrelicServiceProvider.php:95

Laravel version: 5.7.23 Package version: 2.2.1

Problem caused by a new release, PR #48

I need that folk already quick-fixed this issue on their forks, but we need a robust fix