Plugin not activating after update
-
Hello,
I have updated the plugin Yoast SEO, after that it give white screen then i deactivated via FTP and rollbacked the plugin to previous version, when i tried to activate it, it is not activating anymore and giving this error.Warning: include(): Failed opening ‘/var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/inc/options/class-wpseo-option-xml.php’ for inclusion (include_path=’.:/opt/plesk/php/7.1/share/pear’) in /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/vendor/composer/ClassLoader52.php on line 186
Warning: call_user_func() expects parameter 1 to be a valid callback, class ‘WPSEO_Option_XML’ not found in /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 48
Fatal error: Uncaught Error: Call to a member function maybe_add_option() on null in /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/inc/options/class-wpseo-options.php:284 Stack trace: #0 /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/wp-seo-main.php(158): WPSEO_Options::ensure_options_exist() #1 /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/wp-seo-main.php(91): _wpseo_activate() #2 /var/www/vhosts/mysite.com/httpdocs/woocommerce/releases/20180307101515/wp-includes/class-wp-hook.php(286): wpseo_activate(”) #3 /var/www/vhosts/mysite.com/httpdocs/woocommerce/releases/20180307101515/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /var/www/vhosts/mysite.com/httpdocs/woocommerce/releases/20180307101515/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/vhosts/mysite.com/httpdocs/woocommerce/releases/20180307101515/wp-admin/plugins.php(174): do_action(‘activate_wordpr…’) #6 {main} throw in /var/www/vhosts/mysite.com/httpdocs/woocommerce/shared/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 284
I’m not able to understand this can you please elaborate this to me?
Thanks in advance
Regards,
Zaheen
The topic ‘Plugin not activating after update’ is closed to new replies.