Skip to content
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

Role Manager: Trying to get property of non-object #133

Open
tyamz opened this issue Apr 19, 2018 · 0 comments
Open

Role Manager: Trying to get property of non-object #133

tyamz opened this issue Apr 19, 2018 · 0 comments

Comments

@tyamz
Copy link

tyamz commented Apr 19, 2018

UPDATE: I believe this is a bug. If you change the name of an existing group from the User Groups Manager by RainLab, it can cause the following error when trying to access the Role Manager? I'm not at all sure why this happens. I had no roles assigned to the groups that I changed.

Trying to get property of non-object /var/www/html/plugins/clake/userextended/controllers/Roles.php on line 127

Which corresponds to:

$unassignedUsers = UsersGroups::byUsersWithoutRole($this->vars['selectedGroup']->code)->get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant