[Plugin: Role Scoper] Fatal error when accessing wp-admin
-
Hi,
I get the following fatal error when I try to sign in to my dashboard by accessing the https://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 792If 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.
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Role Scoper] Fatal error when accessing wp-admin’ is closed to new replies.