Need WP Help!

Mxty

Supreme Member
Joined
Oct 5, 2016
Messages
1,363
Reaction score
908
I couldn't think who to ask and need help to figure out an issue...

My WordPress admin has been extremely buggy, I think it was plugin conflicts from Yoast, but I recently updated the WP so I thought it may be that.

I downgraded WP and now I have an error and I can't see anything in the backend of the site:

Fatal error: Uncaught Error: Call to undefined method WP_Screen::is_block_editor() in /var/sites/g/*URL/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php:82 Stack trace: #0 /var/sites/g/*URL*/public_html/wp-includes/class-wp-hook.php(286): WPSEO_Admin_Bar_Menu->add_menu(Object(WP_Admin_Bar)) #1 /var/sites/g/*URL/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/sites/g/*URL/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /var/sites/g/*URL/public_html/wp-includes/admin-bar.php(83): do_action_ref_array('admin_bar_menu', Array) #4 /var/sites/g/*URLpublic_html/wp-includes/class-wp-hook.php(286): wp_admin_bar_render('') #5 /var/sites/g/*URL/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #6 /var/sites/g/*URL/public_html/wp-includes/plugin.php(453): WP_ in /var/sites/g/*URL/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 82

I renamed the Yoast plugin, to try and turn it off, in the FTP but it hasn't changed anything.

I stupidly don't have a backup.

Any help would be massively appreciated!
 
Try manually updating WordPress again and check the wp-config file. (As usual, also try disabling complete plugin folder too.
 
How would I go about manually updating it to the new 5.5 via FTP?
 
Tried asking my host, the problem is I had it set to auto back up - but I'd just recently upgraded the hosting and they migrated it for me, and it was no longer taking an auto back up...
 
Disable your active theme (by renaming). See if the error is still there or not. If not, disable all active plugins.
This should make the site accessible via wp-admin

login to the dashboard. Update Wordpress. Enable the theme.
Later enable the plugins one by one. Wait until you have this error.

If you again have this error, simply disable the them again and only rename the last plugin that causes this issue.

.....
 
Hmm, I just tried that, but it seems to all be fine and on the front-end still has the enabled theme.

In looking in the WP admin, I can also see "SEO" from Yoast in the left hand side sidebar, but I renamed that plugin so it should be disabled?

I think there's some kind of caching going on? But purged CloudFlare, and disabled WPRocket, so I have no idea what else to do - also testing incognito of course
 
Fixed it!

For some reason my site was still being hosted on my old server, an issue with the host company... So the file manager was only working through there. Disabled Yoast and updated WP and I'm back!
 
Back
Top