I can't access my dashboard. It started after making a 301 redirect using a plugin. The redirection won't load nor entry, so I refreshed the page and got this message:

Fatal error: Call to undefined method WPSEO_Configuration_Page::set_hooks() in D:\home\site\wwwroot\wp-content\plugins\wordpress-seo\admin\class-admin.php on line 91

closed as off-topic by cybmeta, cjbj, Dave Romsey, Max Yudin, Robert hue Jun 19 '17 at 8:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • Hi, Welcome to WPSE! Are you using Yoast SEO plugin? I think this function belongs to that plugin. – Jack Johansson Jun 14 '17 at 11:22
  • Thanks, Jack. I actually updated my plugin yesterday and did not even consider that possibility. What can I do to fix it if I can not even access the dashboard? :( – Aline Jun 14 '17 at 11:33
  • 1
    rename the folder /plugins/wordpress-seo/ and see if you can access the dashboard, if so try to update/reinstall/rollback the plugin – majick Jun 14 '17 at 12:01
  • 1
    You can use ftp to disable your plugin. Just navigate to wp-content/plugins/ and change Yoast's folder name. You will have access to dashboard again. – Jack Johansson Jun 14 '17 at 16:00