[Hooloo] zizaco/entrust 5.2.x-dev Class name must be a valid object or a String,hooloozizaco
When using Laravel 5.1 rights Management, use the installation zizaco/entrust 5.2.x-dev when executing PHP artisan entrust:migration When the following error is reported:
[Symfony\component\debug\exception\fatalerrorexception]
Class name must be a valid object or a string
Workaround:
The 84th line in the \vendor\zizaco\entrust\src\commands\migrationcommand.php file.
Will
get' auth.providers.users.table '; get' Auth.providers.users.model ';
Switch
get' auth.table '; get' Auth.model ';
Can.
This method is only for Laravle 5.1.
http://www.bkjia.com/PHPjc/1131140.html www.bkjia.com true http://www.bkjia.com/PHPjc/1131140.html techarticle [Hooloo] zizaco/entrust 5.2.x-dev Class name must be a valid object or a String,hooloozizaco in using Laravel 5.1 rights Management, using the installation Zizaco/entrust 5.2.x-dev time to execute ...