Fatal error: Call to undefined function get_current_screen()
-
I’ve just updated my site to buddypress2.0, and now am unable to access the administration for the site.
The site is running correctly, but every time I try to access any of the administration pages, I get: Fatal error: Call to undefined function get_current_screen() in /home/jenae20/public_html_cip_thecustomgolfshop/wp-content/plugins/buddypress/bp-members/bp-members-admin.php on line 825Looking up this line:
if ( $this->users_page != get_current_screen()->id ) { return; }
If I comment out the if clause, things seem to work ok. Just wondering why this is causing an error. Appreciate anyone’s help who could shed light on it!
- The topic ‘Fatal error: Call to undefined function get_current_screen()’ is closed to new replies.