Laravel 5 error - Illuminate \ Container \ Container :: make () declaration must be compatible with Illuminate \ Contracts \ Container \ Container :: make

After compiling the update and setting up contracts, I get this error:

Fatal error: Declaration of Illuminate\Container\Container::make() must be compatible with Illuminate\Contracts\Container\Container::make($abstract, array $parameters = Array) in C:\xampp\htdocs\app\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 12

Unable to find a solution, does anyone know how to fix it?

I could not find the file compiled.phpin the folder vendor. So when I pull it back, everything works as before.

Well, now I get this when I want to login or register:

The App \ User class contains 1 abstract method and therefore must be declared abstract or implement the remaining methods (Illuminate \ Contracts \ Auth \ Authenticatable :: getAuthIdentifierName)

+4
source share

Source: https://habr.com/ru/post/1623125/


All Articles