Title: Error when activating plugin
Last modified: January 21, 2025

---

# Error when activating plugin

 *  Resolved [kostasmichalaros](https://wordpress.org/support/users/kostasmichalaros/)
 * (@kostasmichalaros)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-51/)
 * Hi there. I get this error after the update. The site has only 6 plugins…
 * **Fatal error**: Uncaught Error: Class “Yoast\WP\SEO\Conditionals\New_Dashboard_Ui_Conditional”
   not found in /var/www/vhosts/theognis.gr/public_html/wp-content/plugins/wordpress-
   seo/admin/menu/class-admin-menu.php:101 Stack trace: #0 /var/www/vhosts/theognis.
   gr/public_html/wp-content/plugins/wordpress-seo/admin/menu/class-admin-menu.php(
   35): WPSEO_Admin_Menu->get_submenu_pages() #1 /var/www/vhosts/theognis.gr/public_html/
   wp-includes/class-wp-hook.php(324): WPSEO_Admin_Menu->register_settings_page()#
   2 /var/www/vhosts/theognis.gr/public_html/wp-includes/class-wp-hook.php(348):
   WP_Hook->apply_filters() #3 /var/www/vhosts/theognis.gr/public_html/wp-includes/
   plugin.php(517): WP_Hook->do_action() #4 /var/www/vhosts/theognis.gr/public_html/
   wp-admin/includes/menu.php(161): do_action() #5 /var/www/vhosts/theognis.gr/public_html/
   wp-admin/menu.php(412): require_once(‘…’) #6 /var/www/vhosts/theognis.gr/public_html/
   wp-admin/admin.php(158): require(‘…’) #7 /var/www/vhosts/theognis.gr/public_html/
   wp-admin/plugins.php(10): require_once(‘…’) #8 {main} thrown in **/var/www/vhosts/
   theognis.gr/public_html/wp-content/plugins/wordpress-seo/admin/menu/class-admin-
   menu.php** on line **101**

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Jose Varghese](https://wordpress.org/support/users/josevarghese/)
 * (@josevarghese)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-51/#post-18256135)
 * Hi [@kostasmichalaros](https://wordpress.org/support/users/kostasmichalaros/)
 * Thank you for using the Yoast SEO plugin and for bringing this issue to our attention.
   Upon reviewing the fatal error you shared along with our development team, it
   appears to have been caused by an incomplete update process, [as line 101 in the latest version is simply a comment.](https://github.com/Yoast/wordpress-seo/blob/trunk/admin/menu/class-admin-menu.php#L101)
 * We recommend uninstalling the Yoast SEO plugin and reinstalling it to rule out
   any issues. If the problem persists after reinstallation, we suggest c[learing your server and browser cache.](https://yoast.com/help/how-to-clear-my-browsers-cache/)
 * Kindly please let us know the results.
 *  Thread Starter [kostasmichalaros](https://wordpress.org/support/users/kostasmichalaros/)
 * (@kostasmichalaros)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-51/#post-18256152)
 * Wow guys you are fast….
 * Clearing the server cache did it… Thank you very much
 *  Plugin Support [Jose Varghese](https://wordpress.org/support/users/josevarghese/)
 * (@josevarghese)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-51/#post-18256215)
 * Thank you for your reply, and I’m glad to hear that clearing the cache resolved
   the issue!
 * If you have some time, we’d greatly appreciate it [if you could write a review](https://wordpress.org/support/plugin/wordpress-seo/reviews/#new-post)
   about our plugin and support.
   Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jose Varghese](https://wordpress.org/support/users/josevarghese/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/error-when-activating-plugin-51/#post-18256215)
 * Status: resolved