captainhook icon indicating copy to clipboard operation
captainhook copied to clipboard

Call to undefined method Illuminate\Events\Dispatcher::firing()

Open enniel opened this issue 8 years ago • 3 comments

Call to undefined method Illuminate\Events\Dispatcher::firing()

The method got removed here laravel/framework@dbbfc62

enniel avatar Feb 02 '17 11:02 enniel

I'm having the same issue (Laravel 5.6). Is there any updates on this?

se468 avatar May 01 '18 11:05 se468

@se468 , @enniel 's patch needs to be adjusted a little bit of checking Laravel version to make it work with Laravel >= 5.4.0, for example, so you can workaround this to start using this package with Laravel 5.6.

if (version_compare('5.4.0', $this->app->version(), '<=')) { $this->registerEventDispatcher(); }

Just remember this can create new issue that I don't know yet. Like with Totem package, most php artisan commands creates Maximum function nesting level of '256' reached, aborting! exception (ensure you have xdebug enable to see this error). Then I have to change the listeners of specific event I really want instead of elouqent.*, which I think shall be a good practice.

oh-bala avatar May 22 '18 04:05 oh-bala

I am getting same error? anyone got this working for Laravel 5.5? :(

mailnike avatar Jan 15 '19 11:01 mailnike