WPSEO admin bar fatal error
-
Hi
One of our sites has what appears to be a conflict between YOAST seo plugin and the event manager plugin.
The conflict is only affecting admins atleast, so regular users aren’t affected.
Just in case it is helpful, the site page affected is here – https://www.plexal.com/event/members-night-2/
The full error –
“Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to WPSEO_Admin_Bar_Menu::get_post_score() must be an instance of WP_Post, instance of stdClass given, called in plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 144 in plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php:482 Stack trace: #0 plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(144): WPSEO_Admin_Bar_Menu->get_post_score(Object(stdClass)) #1 plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(60): WPSEO_Admin_Bar_Menu->add_root_menu(Object(WP_Admin_Bar)) #2 wp-includes/class-wp-hook.php(286): WPSEO_Admin_Bar_Menu->add_menu(Object(WP_Admin_Bar)) #3 / in plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 482”
We are using YOAST SEO v8.0
The events calendar 4.6.21
Wordpress 4.9.8Obviously disabling either plugin isn’t an option.
Have tried removing the events submenu from the WP admin bar using the following code – define(‘TRIBE_DISABLE_TOOLBAR_ITEMS’, true); – but this didn;t stop the fatal error occurring
Any assistance on this is appreciated.
The page I need help with: [log in to see the link]
The topic ‘WPSEO admin bar fatal error’ is closed to new replies.