I’m using SlimStat and was trying to change the capability on the Permissions tab to something that would only let Admins see the SlimStat dashboard. I put edit_dashboard in the capability box, and now, after logging out, I get a fatal error when trying to log back in as the admin. The error is as follows:
Fatal error: Call to undefined function wp_get_current_user() in /home/content/64/5303764/html/member/wp-includes/capabilities.php on line 1187
How can I change this capability to something else (even back to read) so that I can log back in to my site?
- The topic ‘[Plugin: SlimStat] Changed Capability to edit_dashboard and now can't log in’ is closed to new replies.