Closed fahribaharudin closed 7 years ago
which version of Laravel you using?
Im using 5.3
@fahribaharudin for project >= 5.3.*, upgrade guides says:
The AuthorizesResources trait has been merged with the AuthorizesRequests trait. You should remove the AuthorizesResources trait from your app/Http/Controllers/Controller.php file.
Remove it and it should work ;)
I already remove that trait from my base controller sir, It seems the error is on nahid/talk/src/Example/TalkController.php i noticed there is AuthorizesResources trait too on that controller
@fahribaharudin this is because Example shouldn't be include when we get this package (same namespace). I've made a PR to fix this.
I got this error message when running php artisan route:list command:
PHP Fatal error: Trait 'Illuminate\Foundation\Auth\Access\AuthorizesResources' not found in /home/fahri/Projects/thdc/project/vendor/nahid/talk/src/Example/TalkController.php on line 16