Support » Plugin: Yoast SEO » Plugin not activating after update

  • Resolved zainvirgo

    (@zainvirgo)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    In order to better assist you, we’ll need more information.

    • Are you using the latest WordPress version?
    • If you manually install the Yoast SEO plugin, does this resolve the issue?
    zainvirgo

    (@zainvirgo)

    Thanks for your reply.

    Yes i’m using the latest version of WordPress. Yes i tried to install plugin manually still not able to activate. Is there any way to activate the plugin manually not via WordPress?

    Thanks

    MariusG

    (@marius_codeinwp)

    Please try to check for conflicts. By this, we mean activating Yoast SEO while all the other plugins are disabled, to determine if the issue is caused by an incompatibility.

    Please inform us of the results.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin not activating after update’ is closed to new replies.