Zizaco / entrust

Role-based Permissions for Laravel 5
MIT License
6.05k stars 1.29k forks source link

Call to undefined method Zizaco\Entrust\EntrustFacade::isDeferred() #613

Open tristangemus opened 8 years ago

tristangemus commented 8 years ago

I'm running Laravel 5.2, I keep getting this error while running php artisan entrust:migration:

Call to undefined method Zizaco\Entrust\EntrustFacade::isDeferred()

added the providers array:

Zizaco\Entrust\EntrustFacade::class,

added to the facades aliases array:

'role' => \Zizaco\Entrust\Middleware\EntrustRole::class,
'permission' => \Zizaco\Entrust\Middleware\EntrustPermission::class,
'ability' => \Zizaco\Entrust\Middleware\EntrustAbility::class,
cerkauskas commented 8 years ago

Hello, tristangemus. You mistaken facades with middlewares. Please read the readme once again and more carefully. Good luck!