I had the same error because I use another plugin that renames the wp-admin login url.
I made a ‘quick fix’ by adding this line:
require_once(ABSPATH . 'wp-admin/includes/screen.php');
in the file:
“plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php”
in line: 466
right before
$screen = get_current_screen();"
It’s a bug in iThemes Security. We’re working with them to look at how we can fix this 🙂
It’s a bug in iThemes Security. We’re working with them to look at how we can fix this 🙂
Sadly that won’t help me as I don’t have iThemes security.
(Thanks for the recent Webiste Review BTW)
Joost, any chance of a fix on this. I use All in One WP security and get the same fatal error when I change the login page from the default to a non standard login. The error occurs when you try to visit /wp-admin when not logged in.
Same deal as Adam. Thank you!
A
(@topczipsy)
Hi,
I got same error with Yoast SEO 3.2.5 and All In One WP Security 4.1.0.
/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 467
The error occurs when i try to visit /wp-admin when not logged in.
I am not getting this problem any more. Not sure if it was the Yoast update or another plugin (as stated above I have never had iThemes Security, but do have Wordfence.
Joost, any chance of a fix on this. I use All in One WP security and get the same fatal error when I change the login page from the default to a non standard login. The error occurs when you try to visit /wp-admin when not logged in.
exactly the same here (All in One WP + Yoast).
Same as @adam Nowak. I’m using a site with SSL + All In One WP Security plugin and is getting the same error from months ago:
Fatal error: Call to undefined function get_current_screen() in /home/xxxxxxx/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 467
Will the next update fix this?
SAME ISSUE Fatal error: Call to undefined function get_current_screen() in /home/xxxx/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 467
Solved in my last update 🙂
Thank you so much!