rick Posted September 6, 2015 Share Posted September 6, 2015 I received the following errors after setting a 'manager' role to edit users, then selecting the users option from the access menu. Notice: Trying to get property of non-object in /wire/modules/PagePermissions.module on line 226 Notice: Trying to get property of non-object in /wire/modules/PagePermissions.module on line 238 Fatal error: Call to a member function has() on a non-object in /wire/modules/PagePermissions.module on line 238 Error: Call to a member function has() on a non-object (line 238 of /wire/modules/PagePermissions.module) This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged. I was in the middle of debugging why I was getting a unresolvable redirect error with the ProcessDashboard module with any user role login except superadmin, so I uninstalled that module. I could then view the admin page with each of my user roles. The manager role is the only user role with edit user assigned. I don't have any other admin-related modules, such as ProcessAdminCustomPages, etc. installed. The apache error log only has entries like this: [Sun Sep 06 18:07:38.548640 2015] [:error] [pid 19250] [client 127.0.0.1:38679] PHP Warning: strpos() expects parameter 1 to be string, array given in /wire/modules/Process/ProcessPageLister/ProcessPageLister.module on line 1377, referer: http://localhost/admin/access/users/ The PW logs contain the same information as the error messages above. Any ideas where or what I've done incorrectly? Link to comment Share on other sites More sharing options...
LostKobrakai Posted September 7, 2015 Share Posted September 7, 2015 Could you please provide the used processwire version as well? Link to comment Share on other sites More sharing options...
rick Posted September 7, 2015 Author Share Posted September 7, 2015 Sorry. I tagged the post with 2.6.16 dev, but I don't see it. Link to comment Share on other sites More sharing options...
LostKobrakai Posted September 7, 2015 Share Posted September 7, 2015 Ahh, while I can see it, I'm not sure people will necessarily read it, so for future posts just include it in the post as well. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now