Wordpress there has been a critical error on this website

Hello,

I encountered an issue while updating plugins on my WordPress website. The update process halted, and upon refreshing the page, I received the error message “There has been a critical error on this website.” Unfortunately, I’m unable to access wpadmin, and attempts to resolve the issue by renaming the plugin folder in my host’s File Manager have been unsuccessful.

What steps can I take to restore my website?

Thanks in advance.

3 Likes

my sister who is a consultant says critical errors can occur if your website runs out of memory. You can try increasing the PHP memory limit in your wp-config.php file.

2 Likes

Try renaming the entire plugin folder instead; this usually resolves the issue for us (99% of the time). After that, perform a restoration (we use the All in One WP Migration plugin to handle this in these situations).
You may also try restoring the hosting backup (which we have with our SiteGround hosting) if that doesn’t work.
To avoid having your production sites “suffer” from the outage, I would advise you to set up staging sites ahead of time for updates.

1 Like

about this error lets get the specifics It may be necessary to seek assistance from a WordPress developer or your web hosting provider for more advanced troubleshooting. They can help identify the specific cause of the critical error on your website.

If you’re seeing the “There has been a critical error on this website” message on WordPress, try these steps:

  1. Check Error Logs: Look at the error logs in your hosting account to identify the specific issue.
  2. Disable All Plugins: Rename the plugins folder back, and then rename individual plugin folders one by one to identify the problematic plugin.
  3. Switch to Default Theme: Rename your active theme folder to force WordPress to revert to a default theme.
  4. Increase PHP Memory Limit: Edit the wp-config.php file to increase the PHP memory limit by adding define(‘WP_MEMORY_LIMIT’, ‘256M’);.
  5. Reinstall WordPress Core Files: Download a fresh copy of WordPress and replace the core files except for wp-content and wp-config.php.

If these steps don’t work, contact your hosting provider for further assistance.

1 Like

I’m sorry you’re having trouble with your WordPress site.

Here are some steps to try:

  1. Disable plugins by renaming the “plugins” folder.
  2. Reset WordPress using the Troubleshooting guide.
  3. Restore from a backup if available.
  4. Contact your host’s support team for further assistance.

Let me know if you have questions.