Title: Critical Error After Activating Yoast SEO and Changing Theme
Last modified: September 17, 2025

---

# Critical Error After Activating Yoast SEO and Changing Theme

 *  Resolved [anish9947](https://wordpress.org/support/users/anish9947/)
 * (@anish9947)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/)
 * Hello,
 * I’m encountering a **critical error** on my WordPress website when the **Yoast
   SEO plugin is active**. The issue occurs immediately after I **change the theme**,
   even when using default WordPress themes (like Twenty Twenty-Four or Storefront,
   etc…).
 * The error message shown on the site is:
 * > _“There has been a critical error on this website. Please check your site admin
   > email inbox for instructions.”_
 * However, I am **not receiving any recovery email**. This steps I’ve already taken:
    - I deactivated **all other plugins** and activated **only Yoast SEO**.
    - I tested with **multiple themes**, including default WordPress themes.
    - The error happens consistently when changing themes with **only Yoast SEO 
      activated**.
    - No recovery email or further debug info is being received.
 * Site Info:
    - **WordPress version:** 6.8.2
    - **Yoast SEO version:** 25.9
    - **PHP version:** 8.3
    - **Themes tested:** Twenty Twenty-Four, Storefront, etc…
 * Please let me know how I can resolve this issue?

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/#post-18651725)
 * Hello [@anish9947](https://wordpress.org/support/users/anish9947/),
 * I’m sorry about your experience. The server error logs usually provide more details
   about the issue. If you have access to your server error log, note the date and
   time before generating the error again. Then, immediately check your server error
   log for any errors during that period. If you don’t have access to your server
   error log, please ask your hosting provider to look for you.
 * If you or your web host cannot pinpoint the cause, please provide us with a copy
   of the server error log for further investigation. As server logs can cover a
   significant amount of time, please limit the error log to a few minutes before
   and after the behavior was reproduced.
 * If the server error log does not contain any errors at the time of the issue,
   please enable advanced WordPress debugging with [the code here](https://gist.github.com/jrfnl/5925642).
   This code requires that you change line 84 to point to a path on your server.
   Your web host can provide you with a secure path to save the error.log file.
 *  Thread Starter [anish9947](https://wordpress.org/support/users/anish9947/)
 * (@anish9947)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/#post-18651896)
 * Hello,
 * Thank you for the reply.
 * I think this issue is only for your plugin because when I deactivate all other
   plugins the issue is showing but when I deactivate your plugin the issue is not
   showing.
 * Kindly please resolve the issue.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/#post-18653348)
 * Due to the nature of the issue, we’ll need to take a look at your setup. However,
   we are unable to do it here as this is a public forum. You could consider purchasing
   a [Yoast SEO Premium](https://yoast.com/wordpress/plugins/seo/) subscription 
   since it comes with email support. Then we can investigate the issue further 
   directly on your setup privately.
 *  Thread Starter [anish9947](https://wordpress.org/support/users/anish9947/)
 * (@anish9947)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/#post-18654554)
 * Hello,
 * For your plugin issue why I take premium pack?
 * Kindly please resolve the issue other I move to another SEO providers.

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

The topic ‘Critical Error After Activating Yoast SEO and Changing Theme’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [anish9947](https://wordpress.org/support/users/anish9947/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/wordpress-error-112/#post-18654554)
 * Status: resolved