I get the following fatal error when I try to sign in to my dashboard by accessing the http://mywpsite.com/wp-admin URL:
Fatal error: Call to undefined method stdClass::get_term_roles_daterange() in …/wp-content/plugins/role-scoper/role-scoper_main.php on line 792
If I remove the role scoper plugin, the wp-admin URL shows the login form as expected.
I’ve tried debugging this, it seems the $user variable at line 792 should be of type WP_Scoped_User, but is instead of type WP_User. It seems this only occurs when trying to log in via the wp-admin/ link.
- The topic ‘[Plugin: Role Scoper] Fatal error when accessing wp-admin’ is closed to new replies.