• vistathink

    (@vistathink)


    Hello,
    I have 19 posts on my WordPress site. All posts I can edit except one. When I try to edit the post, I get this error: “There has been a critical error on this website. Please check your site admin email inbox for instructions.” I have yet to receive an email. When I disable all plugins, I can edit the post. After some testing, I found out that when either or both are on, these two plugins cause the problem: iThemes Security, Version 8.1.4 (free), and Contact Form 7, Version 5.7.4 (free). I tried to edit the problem post in Chrome (Windows 11) and Brave OS X but failed to do so.

    Also, in the debug log, I get a PHP memory error. I increased the memory limit to 512 MB but still got the error. How do I fix the problem? My PHP version with my hosting is 7.4. It cannot go higher. If I need to edit the post, I disable iThemes and Contact Form, make the edits, then re-enable these plugins. It seems weird that only one post is affected (the post is over 7000 words, if that matters). The post and site are fine publically. Thank you in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Also try reviewing:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-critical-error-in-wordpress/
    https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/

    Thread Starter vistathink

    (@vistathink)

    Thanks for your replay t-p. I followed this guidance you’d sent:

    “Use phpMyAdmin to deactivate all plugins.

    In the table wp_options, under the option_name column (field) find the active_plugins row

    Change the option_value field to: a:0:{}”

    When I turned the plugins back on in my dashboard, Contact Form 7 and iThemes Security each caused the “There has been a critical error…” message for that one post. iThemes Security did update to Version 8.1.5, but that didn’t help. I think I keep my problem plugins turned on for the theme check and then rename the directory of my currently active theme, correct? Thanks.

    Thread Starter vistathink

    (@vistathink)

    I kept the conflicting plugs turned on and changed the theme name via FTP. After the default theme took over, I tested to see if I could edit the problem post. I could not edit the post. I still get this message: “There has been a critical error on this website.” The site still is fine publicly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“There has Been a Critical Error” when Editing One Post’ is closed to new replies.