• I tried to login to WordPress to update my website and the page just shows “critical error”. How do I fix this?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.

    Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://www.ads-software.com/support/article/debugging-in-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.

    In both cases you should be able to see what the cause is in the logfile.

    I’m sorry to hear that you’re having trouble with your website showing a “critical error.” I know how frustrating that can be, but don’t worry—I’m here to help you through it.

    Check your email: WordPress sends a recovery mode link when there’s a critical error. Follow the link if you received it.

    Disable plugins: Via FTP or cPanel, go to wp-content/plugins and rename the folder to plugins_old. This disables all plugins. If the site works, reactivate each plugin one by one to find the issue.

    Switch the theme: Rename your active theme folder in wp-content/themes to force WordPress to use a default theme like Twenty Twenty-Three.

    If these steps don’t work, you might want to contact your hosting provider for more help.

    Let me know how it goes!

    Best Regards,
    Arslan K.

    Amit Dholiya

    (@amitdholiya1990)

    Enable Debugging:

    • Access your website files via FTP or your hosting control panel.
    • Open the wp-config.php file and add the following line before the line that says “That’s all, stop editing!”:
    • define('WP_DEBUG', true);

    Switch to a Default Theme:

    • If you suspect the theme may be causing the issue, navigate to the wp-content/themes directory and rename your active theme folder (e.g., mytheme to mytheme_disabled).
    • WordPress will revert to a default theme (like Twenty Twenty-One) if one is available. Try logging in again.
    • If none of the above steps work, your hosting provider may be able to assist you in diagnosing the problem.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.