BKWLD / decoy

A Laravel model-based CMS
http://docs.decoy.bukwild.com/
MIT License
303 stars 44 forks source link

Call to undefined method Illuminate\Events\Dispatcher::fire() #105

Open imansugirman opened 5 years ago

imansugirman commented 5 years ago

Error in access /admin

Jepretan Layar 2019-04-25 pukul 13 59 05

hernan19182 commented 5 years ago

Solucion para laravel 5.8

cambiar en el archivo vendor/watson/validating/src/validatingObserver.php

protected function fireValidatedEvent(Model $model, $status) { Event::fire("eloquent.validated: ".get_class($model), [$model, $status]); }

remplazan

protected function fireValidatedEvent(Model $model, $status) { Event::dispatch("eloquent.validated: ".get_class($model), [$model, $status]); }