chatter icon indicating copy to clipboard operation
chatter copied to clipboard

replace Event::fire() with Event::dispatch() for L5.8

Open MostafaAttia opened this issue 6 years ago • 6 comments

Can't create a new discussion when using Laravel 5.8:

Symfony\Component\Debug\Exception\FatalThrowableError Call to undefined method Illuminate\Events\Dispatcher::fire().

Illuminate\Events\Dispatcher::fire() changed to dispatch in Laravel 5.8

MostafaAttia avatar Mar 27 '19 16:03 MostafaAttia

This fix worked for me on L5.8 - please merge it.

marcinsdance avatar Apr 17 '19 20:04 marcinsdance

please merge it.

ChafikHadjAbdouRazack avatar May 25 '19 17:05 ChafikHadjAbdouRazack

i am not sure what happened but in every branch this has reverted to fire() ?? Screenshot 2019-07-23 at 14 22 45

shez1983 avatar Jul 23 '19 13:07 shez1983

Can this be merged?

igolubic avatar Sep 02 '19 01:09 igolubic

Please merge this - i just raised an issue relating to this.

mattglover11 avatar Sep 15 '19 00:09 mattglover11

Yes, This worked for me. Thanks!

sudheerb9 avatar Apr 04 '20 08:04 sudheerb9