The short answer first: the "There has been a critical error on this website" message means a PHP fatal error stopped WordPress from loading. In most cases the cause is a plugin conflict, a theme problem, or a PHP version mismatch — and it is usually fixable in under an hour if you work in the right order. Do not reinstall WordPress. Do not restore a week-old backup yet. Follow these steps first.
Work through these steps in order — each one either brings the site back or tells you exactly where the problem lives.
Even a broken site can be backed up from your hosting panel (Hostinger/cPanel backup or the host's snapshot tool). Whatever happens next, you want today's copy of your files and database safe first.
When a critical error happens, WordPress usually emails the admin address with a recovery mode link. Click it, log in, and WordPress will tell you which plugin or theme caused the crash — and let you deactivate it safely. For many sites, this step alone fixes everything.
In wp-config.php (in your site's root folder, via File Manager or FTP), make sure these lines exist above the "stop editing" line:
define( 'WP_DEBUG', true );define( 'WP_DEBUG_LOG', true );define( 'WP_DEBUG_DISPLAY', false );Reload the broken page once, then open wp-content/debug.log. The last lines name the exact file and plugin/theme causing the error — that is your culprit.
In File Manager, go to wp-content/plugins/ and rename the culprit plugin's folder (add -off at the end). If the log gave you no name, rename the whole plugins folder to plugins-off — if the site comes back, a plugin was the cause; rename the folder back and switch plugins on one by one until the error returns. You have found your plugin.
If plugins are clean, switch the theme: rename your active theme's folder in wp-content/themes/. WordPress will fall back to a default theme if one is installed. If the site loads, the problem lives in your theme — usually a recent edit or update.
A very common cause in 2026: the host upgraded PHP and an old plugin/theme is not compatible — or the opposite, a new plugin needs a newer PHP than your site runs. Check your hosting panel's PHP version against the plugin's requirements. If the debug log says "Allowed memory size exhausted", raise the PHP memory limit in the hosting panel (256M is a sane value for most sites).
If you find files you never uploaded, new admin users you did not create, or spam pages in Google — that is not a simple crash, that is a hacked site. Fixing the error without removing the infection only buys the attacker time. Clean the infection first, change every password after the site is clean, and only then put the site back.
If two hours pass and the site is still down, every extra experiment risks making it worse — especially on a store taking orders. This is the point where most of my clients hand it over.
I fix WordPress critical errors and bugs on Fiverr — most sites diagnosed within the hour, fixed the same day, from $15: WordPress critical error & bug fixing on Fiverr — or reach me directly through this site's contact page.
Prefer ordering through Fiverr? All four of my services are there with fixed packages and buyer protection:
Seller profile: dev_alihaider on Fiverr