-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method Zizaco\Entrust\MigrationCommand::handle() does not exist #836
Comments
I found solution by @justem007 take a look here: #826 "Go to the file (vendor-> zizaco-> entrust-> src-> commands-> MigrationCommand.php and change the "fire" method to "handle" and after the command "php artisan entrust: migration" will be generated Migration and just run the "php artisan migrate" command that the tables will be generated in your database." |
Thanks a lot @dokicro. You save my day. |
Yes, It worked. Thank you |
This should be created PR and merged with new tag for Laravel 5.5 Support |
Closed since #840 was merged |
Funciona com a versão 5.5 do Laravel? |
Yes, it works! You can use "zizaco/entrust": "dev-master" instead |
Do you have any tutorials to help me set up? Because following the doc I'm having errors the structure changes laravel 5.4 changes a little getting different from the documentation. |
I don't have a tutorial. Hope this help! |
It is possible to have the same ACL result using Middleware? I had done a long ago doing so, would the ACL have any more advantage than Middleware? https://github.com/diegocar448/CodeDelivery/blob/master/app/Http/routes.php |
Not sure what you are asking. What is ACL for you? What are you trying to compare? Please be more explanatory. |
I talked about access level, when we separated accessibility, responsibilities, administrator levels, clients, user ..... does not ACL do that too? |
There are different ways to handle accessibility and responsibilities, it will depend on you and your project. You can cover accessibility with Gates and Policies for example. |
Works like a charm... |
pro yes its work (y) |
thenks! helpful for fix this bug with fire method 👍 |
The error still exists after install it using |
thaaaaaaaaaanks |
Thanks!=) |
Thanks a ton 👍 |
Thanks, It worked for me. |
Worked ... Thanks 👍 |
The problem of calling handle method during the the migration file s creation still persists. Though the solution @dokicro provided worked. But this should be fixed or at least be mentioned in the documentation. |
I confirm. The problem exists when installing "zizaco / entrust": "5.2.x-dev". If you change the version to "dev-master" and composer update, the problem is solved. |
php artisan entrust:migration throw this ReflectionException
Method Zizaco\Entrust\MigrationCommand::handle() does not exist
The text was updated successfully, but these errors were encountered: