{"id":27309,"date":"2024-02-28T22:00:10","date_gmt":"2024-02-28T22:00:10","guid":{"rendered":"https:\/\/10web.io\/blog\/?p=27309"},"modified":"2024-11-14T11:30:14","modified_gmt":"2024-11-14T11:30:14","slug":"there-has-been-a-critical-error-on-this-website","status":"publish","type":"post","link":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/","title":{"rendered":"How to Fix \u201cThere Has Been a Critical Error on Your Website\u201d WordPress Errors"},"content":{"rendered":"<p><span style=\"font-weight: 400\">When you&#8217;re cruising along, managing your WordPress site with ease, hitting a major snag like the &#8220;There Has Been a Critical Error on Your Website&#8221; message can feel like a sudden stop. <\/span><\/p>\n<p><span style=\"font-weight: 400\">This error, akin to the dreaded White Screen of Death from earlier WordPress versions, essentially halts your website in its tracks, replacing your content with a critical error message or a blank page.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website.jpg\" alt=\"The there has been a critical error on this website error message.\" width=\"1560\" height=\"290\" class=\"alignnone size-full wp-image-27311\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-742x138.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-1484x276.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-150x28.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-768x143.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-1536x286.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-600x112.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<p><span style=\"font-weight: 400\">So, what&#8217;s behind this sudden stop sign on your digital highway?<\/span><\/p>\n<h2 id=\"understanding-the-there-has-been-a-critical-error-on-your-website-in-wordpress\"><span style=\"font-weight: 400\">Understanding the \u201cThere Has Been a Critical Error on Your Website\u201d in WordPress<\/span><\/h2>\n<p><span style=\"font-weight: 400\">At its core, the critical error in WordPress signals a significant problem that prevents the platform from loading essential scripts. This malfunction can stem from various sources, primarily linked to PHP issues. <\/span><\/p>\n<p><span style=\"font-weight: 400\">PHP, the scripting language that powers WordPress, is crucial for your website&#8217;s functionality. When something goes wrong with PHP, whether due to a coding error, a plugin or theme issue, or even a memory limit being exceeded, WordPress can&#8217;t proceed as normal.<\/span><\/p>\n<h2 id=\"common-culprits-behind-this-error\"><span style=\"font-weight: 400\">Common culprits behind this error<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The critical error message in WordPress is essentially a distress signal, indicating that the website&#8217;s PHP code has encountered a fatal issue it cannot recover from.<\/span><\/p>\n<p><span style=\"font-weight: 400\">This error can spring from several sources, which may involve core WordPress files, plugins, themes, or even external factors like hosting environment limitations.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Here&#8217;s a more detailed look at these potential culprits:<\/span><\/p>\n<p><b>PHP Memory Limit<\/b><span style=\"font-weight: 400\">: One of the most frequent triggers for this error is exceeding your PHP memory limit. WordPress requires a certain amount of memory to run smoothly, and if your site demands more than what&#8217;s available, it hits a wall.<\/span><\/p>\n<p><b>Plugin or Theme Conflicts<\/b><span style=\"font-weight: 400\">: Plugins and themes enhance your site but can sometimes conflict with each other or the WordPress core, leading to critical errors. This is especially true if they are not kept up-to-date with the latest WordPress versions.<\/span><\/p>\n<p><b>Coding Errors<\/b><span style=\"font-weight: 400\">: Custom code additions or modifications can introduce errors. If you&#8217;ve recently added or tweaked code on your site, this could be the root of the problem.<\/span><\/p>\n<p><b>Database Issues<\/b><span style=\"font-weight: 400\">: Although less common, database corruption can also result in a critical error message, as WordPress relies heavily on its database to store and retrieve content.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Although the error message might not provide much guidance, understanding the underlying issues can significantly simplify the troubleshooting process. It&#8217;s also beneficial to be aware of other common WordPress errors, as they may occur concurrently:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/err_connection_timed_out-error\/\"><span style=\"font-weight: 400\">ERR_CONNECTION_TIMED_OUT<\/span><\/a><span style=\"font-weight: 400\">: This occurs when the web server is too slow or overwhelmed.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/resolving-the-err_cache_miss-error\/\"><span style=\"font-weight: 400\">ERR_CACHE_MISS<\/span><\/a><span style=\"font-weight: 400\">: Encounter this? It&#8217;s time to check your site&#8217;s cache or PHP tools like plugins, which are often to blame.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/how-to-fix-the-500-error\/\"><span style=\"font-weight: 400\">500 Internal Server Error<\/span><\/a><span style=\"font-weight: 400\">: Typically, this serious issue can be traced back to corruption in server files.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Error Establishing a <\/span><span style=\"font-weight: 400\">Database<\/span><span style=\"font-weight: 400\"> Connection: This suggests there&#8217;s either corruption in your database or an issue with the database server itself.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/error-503-service-unavailable\/\"><span style=\"font-weight: 400\">HTTP 503<\/span><\/a><span style=\"font-weight: 400\"> Service Unavailable: A clear sign there&#8217;s a problem with your server.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/502-bad-gateway\/\"><span style=\"font-weight: 400\">HTTP 502<\/span><\/a><span style=\"font-weight: 400\"> Bad Gateway: Often a result of your server being overloaded by too much traffic.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">White Screen of Death (WSOD): A completely blank screen, often without any error message, indicating a PHP or database error.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/504-gateway-timeout-error\/\"><span style=\"font-weight: 400\">504 Gateway Timeout Error<\/span><\/a><span style=\"font-weight: 400\">: This occurs when your server doesn&#8217;t receive a timely response from another server it was accessing while attempting to load your site.<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/10web.io\/blog\/resolving-a-403-forbidden-error\/\"><span style=\"font-weight: 400\">403 Forbidden Erro<\/span><\/a><span style=\"font-weight: 400\">r: Indicates that server permissions are preventing access to a page or resource on your site.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">Should you encounter any other unusual errors, it&#8217;s a good idea to check out the specific HTTP code the error produces.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Understanding these potential causes and associated errors is crucial for diagnosing and resolving the critical error message. With this knowledge, you can approach troubleshooting with a clearer direction, whether it&#8217;s deactivating plugins, switching themes, increasing PHP memory limits, or consulting with your hosting provider. The goal is always to restore your site&#8217;s functionality while minimizing downtime and ensuring a smooth experience for your visitors.<\/span><\/p>\n<h3 id=\"beyond-the-error-message\"><span style=\"font-weight: 400\">Beyond the error message<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Since WordPress 5.2, the platform attempts to be more helpful by sending an admin email with details about the issue and instructions for entering recovery mode. This recovery mode allows you to troubleshoot by deactivating plugins or themes suspected of causing the error. However, if WordPress can&#8217;t send this email, you&#8217;re left with the generic error message, which can be more puzzling.<\/span><\/p>\n<h2 id=\"steps-to-resolve-the-there-has-been-a-critical-error-on-your-website-error\"><span style=\"font-weight: 400\">Steps to resolve the \u201cThere Has Been a Critical Error on Your Website error\u201d<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Dealing with this error involves a bit of detective work and patience. How you\u2019ll proceed depends on if you receive an email at the site\u2019s admin email address. Start by checking that first.<\/span><\/p>\n<h3 id=\"check-your-email\"><span style=\"font-weight: 400\">Check Your Email<\/span><\/h3>\n<p><span style=\"font-weight: 400\">WordPress is helpful in that it sometimes sends an email to the admin address with details about the error and a link to access your site\u2019s admin in recovery mode. This can often give you a head start in diagnosing the issue.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Depending on what caused the error, it\u2019s possible you may not see an instruction to check your email. In that case, it may be that your site\u2019s not able to load the files it needs to send the email or access recovery mode. <\/span><\/p>\n<p><span style=\"font-weight: 400\">Receiving an email is also dependent on your WordPress site being set up to send emails with SMTP. In that case, you may see a message instructing you to check your email even though no email was sent.<\/span><\/p>\n<h2 id=\"how-to-fix-the-critical-error-in-wordpress-with-and-without-the-email\"><span style=\"font-weight: 400\">How to Fix the Critical Error in WordPress (with and without the email)<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Whether you&#8217;ve received a helpful email from WordPress or you&#8217;re flying blind, there are ways to get your website back on course.<\/span><\/p>\n<h3 id=\"fixing-the-critical-error-with-the-wordpress-debugging-email\"><span style=\"font-weight: 400\">Fixing the critical error with the WordPress debugging email<\/span><\/h3>\n<p><span style=\"font-weight: 400\">Upon receiving the &#8220;Your Site is Experiencing a Technical Issue&#8221; email, your first step is to check your admin email inbox. The email provides a treasure map to the source of the error, often highlighting a problematic plugin or theme. For a more hands-on approach, it offers a unique link to enter WordPress in recovery mode, where you can safely diagnose and treat the issue.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">First, locate the email from WordPress with the subject &#8220;Your Site is Experiencing a Technical Issue.&#8221; This email is sent to the admin email address you provided during WordPress setup.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Read through the email to find specifics about the error, including which plugin or theme might be causing it.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click on the unique link provided in the email to enter recovery mode on your website. This link bypasses the critical error to let you access the admin dashboard.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Recovery Mode<\/span><\/h4>\n<p><span style=\"font-weight: 400\">Once in recovery mode, WordPress will guide you to the heart of the problem, whether it be a rogue plugin or a theme gone awry. Check near the top of the dashboard for messages about what went wrong and how to set things right again.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If it&#8217;s a plugin causing turmoil, deactivating it may be your best bet. Don&#8217;t worry, you can always seek support from the plugin&#8217;s developers or find an alternative solution.<\/span><\/p>\n<p><span style=\"font-weight: 400\">For theme-related issues, switching to a different theme or reinstalling a fresh copy might just do the trick. Remember to exit recovery mode with the red link at the page\u2019s top once you&#8217;ve made the necessary fixes.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the link in the email and log in at the prompt.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Once logged in, WordPress will notify you of the error&#8217;s cause and provide links to the plugins or themes page where the issue originated.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If a plugin is the issue, click on the provided link to navigate to your plugins page, find the problematic plugin, and deactivate it.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If a theme is at fault, you&#8217;ll be directed to the themes page. You may need to switch to a default theme or delete and reinstall the problematic theme.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After addressing the issue, click on \u2018Exit Recovery Mode\u2019 at the top of your dashboard.<\/span><\/li>\n<\/ol>\n<h3 id=\"fixing-the-critical-error-in-wordpress-manually-without-email\"><span style=\"font-weight: 400\">Fixing the critical error in WordPress manually (without email)<\/span><\/h3>\n<p><span style=\"font-weight: 400\">You can still fix this without the email. You\u2019ll need to have access to the website\u2019s files and possibly the hosting control panel.<\/span><\/p>\n<h4><span style=\"font-weight: 400\">Step 1: Deactivate all WordPress plugins<\/span><\/h4>\n<p><span style=\"font-weight: 400\">Plugins and themes are often at the heart of this error. By deactivating all plugins (using FTP if necessary) and switching to a default theme, you can test if the site works again. If it does, reactivate each one by one to find the offender.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Since accessing the admin area might not be an option, use an FTP client or your hosting control panel&#8217;s File Manager to navigate to the `wp-content\/plugins` folder.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Simply rename the folder to something like `plugins.deactivated` to trick WordPress into deactivating all plugins.<\/span><\/p>\n<p style=\"position: relative;padding-bottom: calc(56.22294372294372% + 41px);height: 0;width: 100%\">\n<p><span style=\"font-weight: 400\">If this maneuver resolves the error, don&#8217;t forget to rename the folder back and reactivate the plugins one by one to identify the troublemaker.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Use an FTP client like FileZilla or the File Manager in your hosting control panel to access your website files.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to wp-content\/plugins.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Right-click on the plugins folder and rename it to something like plugins_deactivated. This deactivates all plugins.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Visit your website to see if the critical error is resolved. If it is, the issue was with one of the plugins.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Rename the folder back to plugins and then reactivate each plugin one by one in your WordPress dashboard to identify which one causes the error.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Step 2: Switch to a default theme<\/span><\/h4>\n<p><span style=\"font-weight: 400\">Sometimes, the error springs from your active theme. Download a default WordPress theme (like Twenty Twenty-Two), unzip it, and upload it to `wp-content\/themes` via FTP or File Manager. If changing the theme resolves the error, you&#8217;ve found your culprit. You can then either stick with the default theme or attempt to fix the original theme.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to the WordPress theme directory and download a default theme (e.g., Twenty Twenty-Four).<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme.jpg\" alt=\"Setting a default theme in the WP admin can help troubleshoot the there has been a critical error on this website error.\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-27308\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/default-theme-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><br \/>\n<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Unzip the theme on your computer and upload it to wp-content\/themes using FTP or File Manager.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Access your WordPress dashboard. If you can&#8217;t, WordPress will automatically switch to the default theme if your current theme is missing.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">If switching the theme fixes the error, the problem was with your theme.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Step 3: Reinstall WordPress<\/span><\/h4>\n<p><span style=\"font-weight: 400\">If the error persists, it might be time to consider a corrupt WordPress core file or malware as the cause. Download a fresh copy of WordPress, unzip it, and use FTP or File Manager to upload the new files, overwriting the old ones. This step can potentially eliminate any corrupted files or sneaky malware that&#8217;s causing the error.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Get the latest version from WordPress.org and unzip it on your computer.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Use FTP or File Manager to upload the new WordPress files to your website&#8217;s root directory, overwriting the existing files.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Visit your website to see if the issue is resolved.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Step 4: Turn on debugging in WordPress<\/span><\/h4>\n<p><span style=\"font-weight: 400\">Activating WordPress&#8217;s debugging mode can shine a light on the specific error messages that are causing your site to stumble. This requires adding a few lines to your `wp-config.php` file.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug.jpg\" alt=\"A portion of the wp-config file showing the define(WP_DEBUG true) line added with a text editor\" width=\"1560\" height=\"875\" class=\"alignnone size-full wp-image-27312\" srcset=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug.jpg 1560w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-742x416.jpg 742w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-1484x832.jpg 1484w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-150x84.jpg 150w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-768x431.jpg 768w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-1536x862.jpg 1536w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-371x208.jpg 371w, https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-on-this-website-debug-600x337.jpg 600w\" sizes=\"auto, (max-width: 1560px) 100vw, 1560px\" \/><\/p>\n<p><span style=\"font-weight: 400\">However, the effort can be invaluable in pinpointing the culprit.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Using FTP or File Manager, locate and edit the wp-config.php file in your website&#8217;s root directory.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><span style=\"font-weight: 400\">Add the following lines just above the &#8220;That&#8217;s all, stop editing!&#8221; line:<\/span><\/span>\n<pre>define( 'WP_DEBUG', true );\r\ndefine( 'WP_DEBUG_LOG', true );\r\ndefine( 'WP_DEBUG_DISPLAY', false );<\/pre>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Errors will now be logged to wp-content\/debug.log. Review this file for clues about the error.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Step 5: Increase PHP memory limit<\/span><\/h4>\n<p><span style=\"font-weight: 400\">A lack of memory can lead to critical errors. By adding a line in your `wp-config.php` file, you can increase the PHP memory limit, giving your website more breathing room to operate smoothly.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open your wp-config.php file again.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Add the following line above the &#8220;That&#8217;s all, stop editing!&#8221; line:<br \/>\n<\/span><span style=\"font-weight: 400\"><code>define('WP_MEMORY_LIMIT', '256M');<\/code><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Save your changes and upload the file back to your server.<\/span><\/li>\n<\/ol>\n<h4><span style=\"font-weight: 400\">Step 6: Upgrade your PHP version<\/span><\/h4>\n<p><span style=\"font-weight: 400\">Ensure your site runs on at least PHP version 7.4. An outdated PHP version can be a silent killer, leading to unexpected errors. Most hosting providers offer an easy way to <\/span><a href=\"https:\/\/help.10web.io\/hc\/en-us\/articles\/6243452799506-How-to-Change-PHP-Version\"><span style=\"font-weight: 400\">update your PHP version<\/span><\/a><span style=\"font-weight: 400\"> through the hosting control panel. For example, at 10Web:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Log in to your 10Web dashboard.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click Manage on the site you\u2019d change to change the PHP version.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click Hosting Services &gt; Tools.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select the desired Version from the drop down menu in the PHP version section.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Confirm the selection.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Test the site for compatibility.<\/span><\/li>\n<\/ol>\n<h2 id=\"prevention-tips\"><span style=\"font-weight: 400\">Prevention tips<\/span><\/h2>\n<p><span style=\"font-weight: 400\">After resolving the critical error, adopting a few preventive measures can help avoid future occurrences. Keeping plugins, themes, and WordPress itself updated is essential. Additionally, using a quality hosting service that offers robust resources and excellent support can make a world of difference. Regular backups are also your safety net; ensure you have a reliable backup solution in place.<\/span><\/p>\n<h2 id=\"wrapping-up\"><span style=\"font-weight: 400\">Wrapping up<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The &#8220;There Has Been a Critical Error on Your Website&#8221; message is daunting but not insurmountable. By methodically addressing potential causes like memory limits, plugin and theme conflicts, and coding errors, you can steer your WordPress site back to smooth sailing. Remember, the key to a healthy website is regular maintenance and being prepared to troubleshoot when the unexpected happens.<\/span><\/p>\n<p><i><span style=\"font-weight: 400\">Did any of these troubleshooting steps help you determine what caused your site to go down? Let us know in the comments!<\/span><\/i><br \/>\n \r\n<style>\r\n  #ctablocks_scrollbox-with-icon_89{\r\n            color: #ffffff;\r\n    border-radius: 6px;\r\n  }\r\n\r\n  #ctablocks_scrollbox-with-icon_89 p{\r\n    color: #ffffff;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_89 .button{\r\n          background-color: rgb(51,57,241);\r\n        color: #ffffff;\r\n    border-color: #3339f1 !important;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_89 .button:hover{\r\n    background: rgba(51,57,241,0.8);\r\n    color: #ffffff;\r\n    opacity: 1;\r\n  }\r\n  #ctablocks_scrollbox-with-icon_89.ctablocks_container {\r\n    left: 100%;\r\n  }\r\n  @media screen and (max-width: 1300px) {\r\n      #ctablocks_scrollbox-with-icon_89.ctablocks_container {\r\n          left: 0;\r\n          margin: 0 auto;\r\n      }\r\n  }\r\n  #ctablocks_scrollbox-with-icon_89 .ctablocks_content {\r\n      background-color: #000000;\r\n  }\r\n<\/style>\r\n<div id=\"ctablocks_scrollbox-with-icon_89\" class=\"ctablocks_container scrollbox-with-icon_type\r\n      \">\r\n\r\n  <div class=\"ctablocks_content clear\">\r\n    <div class=\"ctablocks_content_info\">\r\n              <h4>Say goodbye to website errors<\/h4>\r\n        <h4 class=\"mobile-title\">Fix all the website errors in one click<\/h4>\r\n              <p>Migrate your website to the world's best Managed WordPress Hosting.<\/p>\r\n          <\/div>\r\n    <div class=\"ctablocks_content_button\">\r\n              <a href=\"https:\/\/10web.io\/ai-website-builder\/\" class=\"button\" data-gtag=\"sign-up-blog\" data-buttontype=\"sign-up\" data-gtag=\"cta-89\" data-buttontype=\"cta-scrollbox-with-icon\"\r\n\t        >Migrate For Free<\/a>\r\n            \r\n    <\/div>\r\n  <\/div>\r\n    <span class=\"close_ctablocks\">\r\n      <img decoding=\"async\" class=\"close-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/close_w.svg\" class=\"close\">\r\n      <img decoding=\"async\" class=\"floating-icon\" src=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/04\/Info-icon_Blog.png\" alt=\"Say goodbye to website errors\" title=\"Say goodbye to website errors\">\r\n<!--      <img decoding=\"async\" class=\"arrow-icon white\" src=\"\/cta-blocks\/assets\/images\/arrow-icon.svg\" class=\"close\">\r\n-->      <img decoding=\"async\" class=\"arrow-icon purple\" src=\"https:\/\/10web.io\/blog\/wp-content\/plugins\/cta-blocks\/assets\/images\/arrow-icon-purple.svg\" class=\"close\">\r\n  <\/span>\r\n<\/div>\r\n<br \/>\n <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you&#8217;re cruising along, managing your WordPress site with ease, hitting a major snag like the &#8220;There Has Been a Critical Error on Your Website&#8221; message can feel like a sudden stop. This error, akin to the dreaded White Screen of Death from earlier WordPress versions, essentially halts your website in its tracks, replacing your content with a critical error&#8230;<\/p>\n","protected":false},"author":79,"featured_media":27310,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"two_page_speed":[],"footnotes":"","tenweb_blog_toc":"                                                                <ul>\r\n\t<li>\r\n\t\t<a href=\"#understanding-the-there-has-been-a-critical-error-on-your-website-in-wordpress\">Understanding the \u201cThere Has Been a Critical Error on Your Website\u201d in WordPress<\/a>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#common-culprits-behind-this-error\">Common culprits behind this error<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#beyond-the-error-message\">Beyond the error message<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#steps-to-resolve-the-there-has-been-a-critical-error-on-your-website-error\">Steps to resolve the \u201cThere Has Been a Critical Error on Your Website error\u201d<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#check-your-email\">Check Your Email<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#how-to-fix-the-critical-error-in-wordpress-with-and-without-the-email\">How to Fix the Critical Error in WordPress (with and without the email)<\/a>\r\n\t\t<ul>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#fixing-the-critical-error-with-the-wordpress-debugging-email\">Fixing the critical error with the WordPress debugging email<\/a>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<a href=\"#fixing-the-critical-error-in-wordpress-manually-without-email\">Fixing the critical error in WordPress manually (without email)<\/a>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#prevention-tips\">Prevention tips<\/a>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<a href=\"#wrapping-up\">Wrapping up<\/a>\r\n\t<\/li>\r\n<\/ul>\r\n                                                ","tenweb_blog_competitor_type":"","tenweb_blog_competitor_names":"","tenweb_blog_twb_version":0,"tenweb_blog_type":"on"},"categories":[509],"tags":[],"class_list":["post-27309","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-errors"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.0 (Yoast SEO v23.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u201cCritical Error on Your Site\u201d? Here\u2019s the Ultimate Fix<\/title>\n<meta name=\"description\" content=\"Beat the &quot;there has been a critical error on this website&quot; error with expert advice. Fix your site swiftly and efficiently!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix \u201cThere Has Been a Critical Error on Your Website\u201d WordPress Errors\" \/>\n<meta property=\"og:description\" content=\"Beat the &quot;there has been a critical error on this website&quot; error with expert advice. Fix your site swiftly and efficiently!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/\" \/>\n<meta property=\"og:site_name\" content=\"10Web - Build &amp; Host Your WordPress Website\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/10Web.io\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-28T22:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-14T11:30:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1792\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Arto Minasyan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@artavazdm\" \/>\n<meta name=\"twitter:site\" content=\"@10Web_io\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Arto Minasyan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u201cCritical Error on Your Site\u201d? Here\u2019s the Ultimate Fix","description":"Beat the \"there has been a critical error on this website\" error with expert advice. Fix your site swiftly and efficiently!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix \u201cThere Has Been a Critical Error on Your Website\u201d WordPress Errors","og_description":"Beat the \"there has been a critical error on this website\" error with expert advice. Fix your site swiftly and efficiently!","og_url":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/","og_site_name":"10Web - Build &amp; Host Your WordPress Website","article_publisher":"https:\/\/www.facebook.com\/10Web.io\/","article_published_time":"2024-02-28T22:00:10+00:00","article_modified_time":"2024-11-14T11:30:14+00:00","og_image":[{"width":1792,"height":1024,"url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg","type":"image\/jpeg"}],"author":"Arto Minasyan","twitter_card":"summary_large_image","twitter_creator":"@artavazdm","twitter_site":"@10Web_io","twitter_misc":{"Written by":"Arto Minasyan","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#article","isPartOf":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/"},"author":{"name":"Arto Minasyan","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/b2a531cd7f3eb7353f839f77c203007e"},"headline":"How to Fix \u201cThere Has Been a Critical Error on Your Website\u201d WordPress Errors","datePublished":"2024-02-28T22:00:10+00:00","dateModified":"2024-11-14T11:30:14+00:00","mainEntityOfPage":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/"},"wordCount":2183,"commentCount":0,"publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"image":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg","articleSection":["WordPress Errors"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/","url":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/","name":"\u201cCritical Error on Your Site\u201d? Here\u2019s the Ultimate Fix","isPartOf":{"@id":"https:\/\/10web.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#primaryimage"},"image":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#primaryimage"},"thumbnailUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg","datePublished":"2024-02-28T22:00:10+00:00","dateModified":"2024-11-14T11:30:14+00:00","description":"Beat the \"there has been a critical error on this website\" error with expert advice. Fix your site swiftly and efficiently!","breadcrumb":{"@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#primaryimage","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2024\/02\/there-has-been-a-critical-error-featured.jpg","width":1792,"height":1024,"caption":"The \"there has been a critical error on this website\" error depicted as a cloud of caution symbols and error icons."},{"@type":"BreadcrumbList","@id":"https:\/\/10web.io\/blog\/there-has-been-a-critical-error-on-this-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/10web.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix \u201cThere Has Been a Critical Error on Your Website\u201d WordPress Errors"}]},{"@type":"WebSite","@id":"https:\/\/10web.io\/blog\/#website","url":"https:\/\/10web.io\/blog\/","name":"10Web Blog - Build & Host Your WordPress Website","description":"10Web is an All-in-One Website Building Platform, offering Managed WordPress Hosting on Google Cloud, Beautiful Templates, Premium Plugins and Services.","publisher":{"@id":"https:\/\/10web.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/10web.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/10web.io\/blog\/#organization","name":"10Web","url":"https:\/\/10web.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","contentUrl":"https:\/\/10web.io\/blog\/wp-content\/uploads\/sites\/2\/2025\/04\/Logo-768x686-1.png","width":768,"height":686,"caption":"10Web"},"image":{"@id":"https:\/\/10web.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/10Web.io\/","https:\/\/x.com\/10Web_io","https:\/\/www.instagram.com\/10web.io\/","https:\/\/www.linkedin.com\/company\/10web\/mycompany\/","https:\/\/www.youtube.com\/c\/10Web"]},{"@type":"Person","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/b2a531cd7f3eb7353f839f77c203007e","name":"Arto Minasyan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/10web.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9b1112aab2e31af3c41be33bdfc49a63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9b1112aab2e31af3c41be33bdfc49a63?s=96&d=mm&r=g","caption":"Arto Minasyan"},"description":"Arto Minasyan is the Co-Founder and President at 10Web and Krisp, two companies revolutionizing web development and audio communications. Arto has over 10 years of experience building and leading cutting-edge teams and products in the tech industry. His passion for AI, machine learning, and entrepreneurship drives the success of the projects he leads.","sameAs":["https:\/\/10web.io\/","https:\/\/www.linkedin.com\/in\/artominasyan\/","https:\/\/x.com\/artavazdm"],"honorificSuffix":"PhD","knowsAbout":["Artificial Intelligence","Machine Learning","Web Development","Entrepreneurship","WordPress","WooCommerce","Startup Funding","SaaS Development","Physics & Mathematics"],"jobTitle":"Co-Founder & President","worksFor":"Arto Minasyan","url":"https:\/\/10web.io\/blog\/author\/arto\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/27309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/users\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/comments?post=27309"}],"version-history":[{"count":0,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/posts\/27309\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media\/27310"}],"wp:attachment":[{"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/media?parent=27309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/categories?post=27309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/10web.io\/blog\/wp-json\/wp\/v2\/tags?post=27309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}