Skip to content
Advertisement

Tag: eloquent

PHP7/Laravel – Declaration of, Should be compatible with

Currently facing an issue with an old Laravel project I am trying to revive and update. The error we’re receiving is being thrown on line 11 inside of MessagesController like so: “…/app/Http/Controllers/Administrator/MessagesController.php:11” Messages Controller: Base Controller: Answer Your parent Controller has not included use IlluminateHttpRequest;. Secondly your parent getUserName method, has the request parameter set to nullable. So change your

Advertisement