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

  • Resolved zainvirgo


    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/’ for inclusion (include_path=’.:/opt/plesk/php/7.1/share/pear’) in /var/www/vhosts/ 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/ on line 48

    Fatal error: Uncaught Error: Call to a member function maybe_add_option() on null in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ WPSEO_Options::ensure_options_exist() #1 /var/www/vhosts/ _wpseo_activate() #2 /var/www/vhosts/ wpseo_activate(”) #3 /var/www/vhosts/ WP_Hook->apply_filters(”, Array) #4 /var/www/vhosts/ WP_Hook->do_action(Array) #5 /var/www/vhosts/ do_action(‘activate_wordpr…’) #6 {main} throw in /var/www/vhosts/ on line 284

    I’m not able to understand this can you please elaborate this to me?

    Thanks in advance


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


    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?


    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?




    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.