-
Notifications
You must be signed in to change notification settings - Fork 163
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
refresh-routes Invalid argument supplied for foreach() #29
Comments
Could you check 1 thing - I think you declared in some controller parameter $actions and set it null or some empty string ? |
Hello webvimark, The issue reported by @anas-shehadeh occurred when he accessed "refresh-routes" (/user-management/permission/refresh-routes?id=assignRolesToUsers) While trying to implement your user management module, I encountered a similar error while applying the migrations, please see console trace below - specifically #10 suggests the function refreshRoutes() which uses the foreach() construct. It appears "$toAdd = array_diff(array_keys($allRoutes), array_keys($currentRoutes));" is not returning what you expect. Could you take a look at this more closely? Thanks for the solid work you've put into this extension Regards, Adam *** applying m141207_001649_create_basic_user_permissions Migration failed. The rest of the migrations are canceled. |
refresh-routes
The text was updated successfully, but these errors were encountered: