Category Archives: Website Problems

WordPress website showing a critical error

WordPress Says “There Has Been a Critical Error on This Website”? Here’s What to Do

WordPress Says “There Has Been a Critical Error on This Website”? Here’s What to Do

Seeing “There has been a critical error on this website” where your WordPress website used to be is understandably alarming.

The first thing to know is that it does not normally mean your website has disappeared, your content has been deleted or that you need a new website.

It means WordPress has encountered a serious error that has stopped part or all of the website from loading correctly.

Plugins, themes, PHP compatibility problems, memory limits and damaged WordPress files can all cause a critical error. Quite often, the problem appears immediately after something on the website has changed.

The important thing is to identify what caused it rather than start changing things at random.

Below we’ll work through the sensible checks first, followed by what to do if you can’t even access the WordPress dashboard.

Want us to take a look?

If your website is currently showing a critical error and you’d rather not troubleshoot it yourself, Web Medic can find the cause and get your website working again.

Tell Us What’s Wrong

What Does “There Has Been a Critical Error on This Website” Mean?

WordPress displays its critical error message when something has gone sufficiently wrong that it cannot continue running normally.

Behind the friendly error screen there will usually be a more useful technical error explaining what actually failed.

Common causes include:

  • a faulty or incompatible plugin
  • a plugin conflict
  • a theme problem
  • a WordPress, theme or plugin update
  • an incompatible PHP version
  • the website running out of available PHP memory
  • custom code containing an error
  • damaged or missing WordPress files

The critical error message itself doesn’t tell you which one is responsible.

The job is therefore to find the underlying error and deal with the cause.

Common causes of a WordPress critical error1. Think About What Changed Just Before the Error Appeared

Before doing anything technical, ask a simple question:

What happened immediately before the website stopped working?

Did you:

  • update a plugin?
  • update WordPress?
  • update or change the theme?
  • install a new plugin?
  • add some code?
  • change the PHP version?
  • move the website to another server?
  • change something in your hosting account?

If the website was working at 10:00, you updated one plugin at 10:05 and the critical error appeared at 10:06, that plugin is an obvious place to start.

Sometimes the change isn’t something you’ve done manually. WordPress and plugins can be configured to update automatically, while hosting companies occasionally change server software or PHP versions.

So don’t assume nothing changed simply because you didn’t personally change anything.

2. Check Your WordPress Administrator Email

When WordPress detects certain fatal errors, it can send a message to the website administrator email address.

Look for an email with a subject similar to:

“Your Site is Experiencing a Technical Issue”

Check your spam and junk folders as well.

The email may tell you which plugin or theme caused the error and can include a special link that lets you access WordPress in Recovery Mode.

That can turn a rather vague critical error into something much easier to diagnose.

If no email arrives, don’t assume there isn’t one to send.

The administrator address may be old, WordPress email itself may not be working reliably, or the recovery message may have been rejected or filtered.

3. Try WordPress Recovery Mode

Recovery Mode is a built-in WordPress feature designed for exactly this sort of situation.

If WordPress detects a fatal error caused by something such as a plugin or theme, the recovery email may contain a special login link.

When you follow it, WordPress attempts to let you access the administration area without loading the problematic component normally.

You may then see information identifying the plugin or theme responsible.

Depending on the cause, you may be able to deactivate the offending plugin, change the theme or investigate further without having to access the website files manually.

If Recovery Mode gets you back into WordPress, resist the temptation to simply switch everything back on immediately.

First work out what caused the failure.

4. Was the Critical Error Caused by a Plugin?

Plugins are a common cause of WordPress critical errors, particularly after an update or when two pieces of software stop working happily together.

If you can still access the WordPress dashboard, think carefully about recently installed or updated plugins.

You can deactivate a suspected plugin and test the website again.

If the site starts working, you’ve found a strong clue – but you haven’t necessarily completed the repair.

The next question is why that plugin caused the error.

It might need updating, rolling back to a previous version, reconfiguring or replacing. Alternatively, the real problem may be a conflict with another plugin or the PHP version running on the server.

Blindly deactivating lots of plugins on a live website can also create additional problems, particularly on ecommerce or membership sites.

5. What If You Can’t Access WordPress Admin?

This is where a fairly ordinary WordPress problem starts becoming more technical.

Sometimes the critical error affects both the public website and:

/wp-admin/

You therefore can’t log in to deactivate the plugin that’s preventing you from logging in.

At this point the website can still be repaired, but access may need to be made through your hosting control panel, File Manager, SFTP or FTP.

A problematic plugin can, for example, be disabled by changing its directory within:

/wp-content/plugins/

This prevents WordPress from loading it in the normal way.

The same principle can be used when diagnosing certain theme problems.

If terms such as FTP, File Manager and wp-content mean very little to you, this is a perfectly sensible point to stop.

There is no prize for turning one broken plugin into three different website problems.

6. Could Your WordPress Theme Be Causing the Critical Error?

Yes.

Themes contain PHP code just like plugins do, so an incompatible or damaged theme can cause a fatal error.

This can happen after:

  • a theme update
  • a WordPress update
  • a PHP version change
  • editing a theme file
  • adding custom code to functions.php
  • installing a child theme incorrectly

If the error appeared immediately after changing or updating the theme, that’s an obvious clue.

Testing with a standard WordPress theme can help establish whether the active theme is responsible, but again, do this carefully on a live business website.

Changing themes can affect layouts, widgets, menus and other theme-specific functionality.

7. Check the PHP Version

WordPress itself, your theme and every active plugin rely on PHP.

Older plugins and themes may contain code that isn’t compatible with a newer PHP version. Equally, newer software may require a more recent PHP version than the server is currently running.

This means a website that has worked perfectly for years can suddenly display a critical error after its hosting environment changes.

If the problem started immediately after a PHP upgrade, compatibility should be investigated.

Simply changing PHP versions backwards and forwards isn’t necessarily the right long-term fix, though.

An old plugin that only works on an obsolete PHP version may itself need updating or replacing.

The objective is to get the website working and leave it on a secure, maintainable configuration.

8. WordPress May Have Run Out of Memory

PHP gives a website a certain amount of memory to work with.

Some WordPress operations require more memory than others, and badly behaved plugins can consume far more than they should.

If the available limit is exhausted, WordPress can fail with a fatal error.

Increasing the memory limit can sometimes solve the immediate problem, but it’s worth asking why the site suddenly needs more memory.

If one plugin is consuming an unreasonable amount because something is wrong, continually increasing the limit is treating the symptom rather than the cause.

9. Check the Error Logs

This is often where the real answer is hiding.

Your hosting account may contain PHP or server error logs recording what happened when WordPress failed.

WordPress also has its own debugging system which can be configured to record errors in a log file.

Instead of:

“There has been a critical error on this website”

the log might reveal a specific fatal error and identify the file, plugin or theme involved.

That can change the job from:

“Something has broken WordPress.”

to:

“This particular plugin is calling incompatible PHP code in this particular file.”

That’s considerably easier to fix.

However, error logs are written for developers and server administrators rather than ordinary website owners. They can contain warnings and notices that have nothing to do with the actual failure.

If you’ve found the error log but it looks like somebody has dropped a bowl of alphabet spaghetti onto your screen, don’t worry.

It can still contain exactly the information needed to repair the website.

10. Should You Enable WordPress Debugging?

WordPress has debugging options that can reveal or record more information about PHP errors.

This can be extremely useful when diagnosing a critical error.

However, debugging usually involves editing the site’s wp-config.php file or changing server settings.

On a live business website, detailed PHP errors also shouldn’t normally be left publicly displayed because they can expose information about the site’s file structure and configuration.

So debugging is a useful diagnostic tool – not something to switch on permanently and forget about.

If you’re comfortable working with WordPress files and understand the settings, it can help identify the problem quickly.

If not, the server’s existing error logs may already contain what is needed.

11. Should You Restore a Backup?

Possibly – but don’t automatically make this your first move.

If you know the website broke immediately after a specific change and you have a clean backup from shortly before it happened, restoring that backup can sometimes get the site online quickly.

But there are several things to consider.

If the cause was:

  • an automatic plugin update
  • a server or PHP change
  • an external service
  • a compatibility issue
  • a problem that existed before the backup was taken

then restoring the website may not actually solve the cause.

The error could simply return.

On ecommerce, membership or frequently updated websites, restoring an older database can also mean losing orders, customer activity, enquiries or content added since the backup was created.

A backup is an extremely useful recovery tool, but it isn’t a substitute for diagnosis.

Where possible, establish what failed first.

12. Does a WordPress Critical Error Mean the Website Has Been Hacked?

Not necessarily.

A critical error simply means WordPress has encountered a serious technical failure.

Plugins, themes, PHP and code problems are all common explanations.

However, if the error appeared alongside other suspicious behaviour – unexpected administrator accounts, strange files, redirects, security warnings or unexplained website changes – then a security problem should also be investigated.

Don’t assume every critical error means you’ve been hacked.

Equally, don’t ignore genuine signs that something else is wrong.

13. Can a WordPress Critical Error Be Fixed Without Rebuilding the Website?

Yes – in the vast majority of cases, that’s exactly what should happen.

A critical error doesn’t normally mean the website needs replacing.

Your pages, images, products and database are usually still there. WordPress has simply encountered something that prevents it from completing the page request successfully.

Once the underlying plugin, theme, PHP, memory, code or server problem is identified, it can usually be repaired and the existing website brought back online.

This is precisely why we’d recommend diagnosing the error before anybody starts talking to you about a new website.

When Should You Stop Troubleshooting It Yourself?

If you’ve checked the administrator email and the problem is obviously a plugin you just installed, you may be able to resolve it yourself in a few minutes.

But there’s a natural point where continuing to experiment becomes riskier than the original fault.

If you:

  • can’t access wp-admin
  • don’t have or understand FTP/File Manager access
  • need to edit wp-config.php
  • have found a PHP fatal error you don’t understand
  • suspect a plugin or theme conflict
  • need to change PHP versions
  • are considering restoring the database
  • run an ecommerce site where losing new data would matter

then getting somebody to diagnose it properly is usually quicker and safer.

That’s exactly the sort of repair Web Medic is here for.

We can identify what’s causing the critical error, repair the problem and get the existing website working again.

No unnecessary rebuild. No drama. Just find what’s broken and fix it.

WordPress Critical Error – Frequently Asked Questions

What causes “There has been a critical error on this website” in WordPress?

The message appears when WordPress encounters a serious error that prevents it from running normally. Common causes include faulty or incompatible plugins, theme problems, PHP compatibility issues, exhausted memory, custom code errors and damaged WordPress files.

Why did my WordPress website suddenly show a critical error?

Something may have changed even if you didn’t manually edit the website. Plugin and WordPress automatic updates, PHP or server changes and compatibility problems can all cause a previously working website to develop a critical error.

Can I fix a WordPress critical error if I can't access wp-admin?

Yes. The website can still usually be repaired using WordPress Recovery Mode or through the hosting account, File Manager, SFTP or FTP. Error logs can also identify which plugin, theme or file caused the failure.

Will restoring a backup fix a WordPress critical error?

It can, particularly if the website broke immediately after a known change, but it isn’t guaranteed. If the underlying cause is a PHP change, automatic update, server problem or compatibility issue, the error may return. Care should also be taken not to overwrite newer orders, enquiries or other database content.

Does a WordPress critical error mean my website has been hacked?

No. A critical error is commonly caused by a plugin, theme, PHP or other technical problem. However, if you also see suspicious redirects, unknown administrator accounts, unexpected files or other unusual behaviour, the website should be checked for a security issue.

Do I need a new website after a WordPress critical error?

Usually not. A WordPress critical error normally means a technical problem is preventing the existing site from loading correctly. Once the underlying cause is identified and repaired, the existing website can normally be brought back online without rebuilding it.

Can Web Medic fix a WordPress critical error?

Yes. Whether the problem is caused by a plugin, theme, PHP version, memory limit, damaged files, custom code or another WordPress issue, we can diagnose the cause and repair the website.

Need Your WordPress Critical Error Fixed?

If your website is currently displaying “There has been a critical error on this website”, you don’t need to start again with a new website.

Send Web Medic your website address and tell us what happened.

We’ll find the cause, explain what’s wrong and get your website working again.

wordpress contact form not sending emails

WordPress Contact Form Not Sending Emails? Here’s How to Fix It

WordPress Contact Form Not Sending Emails? Here’s How to Fix It

A contact form that appears to work but doesn’t actually deliver enquiries is one of the more frustrating WordPress problems – particularly because you may not realise anything is wrong.

A visitor completes your form, clicks Send, sees a reassuring “Thank you” or “Message sent” confirmation and assumes you’ve received their enquiry.

Meanwhile, nothing arrives in your inbox.

If your WordPress contact form isn’t sending emails, the good news is that the form itself may not be broken. In many cases, the problem is with the way WordPress sends email, the form’s email settings, your hosting configuration or the way the receiving mail server treats the message.

Below are the most useful things to check, starting with the easy ones.

Want us to check it for you?

If you’d rather not spend your time troubleshooting WordPress email, Web Medic can test your contact form, find out why messages aren’t arriving and fix the problem.

Tell Us What’s Wrong

First, Is the Contact Form Actually Submitting?

This is an important distinction.

Complete the form yourself using realistic information and see what happens when you press the submit button.

If you receive a confirmation such as “Your message has been sent successfully”, the form has probably processed the submission. The problem may therefore be with what happens to the email afterwards.

If the form displays an error, continually spins, does nothing when you press Send or tells you that the message couldn’t be sent, you’re dealing with a different type of problem.

That could be caused by a JavaScript error, plugin conflict, spam protection, reCAPTCHA configuration, server issue or a problem with the form itself.

Knowing which of these is happening considerably narrows down the search.

1. Check Your Spam or Junk Folder

Start with the obvious one.

Check the spam or junk folder of the email account that should receive your website enquiries. If you use Microsoft 365, Gmail or another hosted email service, it’s also worth checking its webmail interface rather than relying entirely on Outlook, Apple Mail or another email program.

Search for the email address, website domain or subject line used by your contact form.

If you find the missing messages in spam, you haven’t necessarily solved the underlying problem. It suggests that the emails are being sent but their authenticity or reputation is causing them to be treated as suspicious.

That leads us to some of the checks below.

2. Check Where the Form Is Sending Enquiries

It sounds ridiculously simple, but check the recipient address configured in the form.

WordPress websites can survive for years while staff change, email accounts are replaced and businesses move to different domains.

Your form may still be faithfully sending every enquiry to an email address nobody checks anymore.

Depending on your form plugin, look for a setting labelled something like:

  • To
  • Recipient
  • Send To Email Address
  • Admin Email

Check the spelling carefully and make sure you can receive ordinary emails at that address.

You can also temporarily change the recipient to another email address and submit another test. If the message arrives there, you’ve immediately learned something useful.

3. Check the “From” Address

This is one of the most common causes of WordPress email delivery problems.

A contact form usually has at least two relevant addresses:

From: the address the website says is sending the email.

Reply-To: the visitor’s email address, so pressing Reply sends your response to them.

These aren’t necessarily supposed to be the same thing.

A common mistake is configuring the visitor’s email address as the From address.

For example, somebody enters:

john@gmail.com

and your website then attempts to send an email claiming it came from john@gmail.com.

Modern email systems are increasingly suspicious of this because your web server clearly isn’t one of Google’s authorised servers.

A much better configuration is normally to send the notification from an address associated with your own domain, for example:

website@yourdomain.co.uk

The visitor’s address can then be used as the Reply-To address.

The precise configuration depends on the contact form plugin and email setup, but this relatively small detail can make a substantial difference to deliverability.
How a WordPress contact form sends an email

4. WordPress May Not Be Sending Email Reliably

Here’s where things become slightly more technical.

By default, many WordPress installations send messages using the web server’s PHP mail functionality.

That can work perfectly well – until it doesn’t.

Web hosting servers are primarily there to serve websites. They aren’t necessarily configured to behave like properly authenticated business email servers.

This can result in contact form notifications being delayed, classified as spam or rejected altogether.

And contact forms aren’t the only thing affected.

WordPress may also need to send:

  • password reset emails
  • new user notifications
  • WooCommerce order emails
  • account notifications
  • security alerts
  • website administrator messages

If several types of WordPress email aren’t arriving, that’s a strong indication that the problem extends beyond your contact form.

5. Do You Need SMTP?

You will frequently see SMTP recommended as the solution to WordPress email problems.

SMTP stands for Simple Mail Transfer Protocol. Fortunately, you don’t need to understand much more than that to appreciate what it does.

Instead of asking your web server to send emails directly, WordPress can be configured to send them through a proper authenticated email service.

Think of it as giving WordPress a more reliable postal service.

There are several WordPress SMTP plugins and numerous email services that can be used for this. However, installing an SMTP plugin isn’t by itself a guarantee that the problem is solved.

It still needs to be configured correctly, authenticated and tested.

If your website contains important contact, quotation, booking or ecommerce forms, reliable email delivery is worth getting right.

6. SPF, DKIM and DMARC Can Affect Whether Emails Arrive

If you’ve made it this far, we’re moving beyond the enjoyable part of owning a website.

SPF, DKIM and DMARC are email authentication technologies that help receiving mail servers decide whether a message really comes from the domain it claims to come from.

They have become increasingly important as major email providers have tightened their requirements to combat spam and impersonation.

You don’t need to become an expert in them just because you own a WordPress website.

What matters is that incorrectly configured DNS and email authentication can result in legitimate website messages being rejected, quarantined or sent to spam.

This can be particularly relevant if:

  • your website has recently moved hosting company
  • your email provider has changed
  • DNS records have been changed
  • you’ve moved to Microsoft 365 or Google Workspace
  • an SMTP service has recently been added
  • messages arrive at some email providers but not others

At this stage, changing random DNS records you’ve found in an online tutorial isn’t something we’d recommend unless you’re confident you understand what they’re doing.

7. Check Spam Protection and reCAPTCHA

Sometimes the email isn’t missing because it failed to arrive.

The form submission was blocked before an email was ever created.

Contact forms commonly use reCAPTCHA, honeypots or other anti-spam systems to stop automated submissions.

These are extremely useful, but incorrect configuration or a change to the service can occasionally interfere with genuine submissions.

If your form:

  • suddenly stopped working
  • produces an error when submitted
  • hangs after pressing Send
  • works for some users but not others

then spam protection should be included in your troubleshooting.

Temporarily disabling security features isn’t always a good idea on a live website, so this can be another point where professional troubleshooting is preferable to randomly switching things off.

8. Did the Contact Form Suddenly Stop Sending Emails?

If the form previously worked and suddenly stopped, ask what changed.

Even something that appears unrelated can provide the clue.

Has the website recently had:

  • a WordPress update?
  • a plugin update?
  • a PHP version change?
  • a hosting migration?
  • an SSL change?
  • a new security plugin?
  • a change of email provider?
  • DNS changes?
  • a new caching or optimisation system?

A plugin conflict or server change can also cause a previously reliable form to stop behaving correctly.

The timing of the problem is often one of the fastest ways of identifying the cause.

9. Contact Form 7 Says the Message Was Sent, But No Email Arrives

This deserves a particular mention because Contact Form 7 is so widely used.

If Contact Form 7 displays its successful submission message but nothing arrives, check the Mail configuration for the form.

Pay particular attention to:

  • the To address
  • the From address
  • the Reply-To header
  • any configuration warnings
  • whether other WordPress emails are being delivered

If the configuration looks correct, the next step is usually to investigate WordPress email delivery itself.

Simply replacing Contact Form 7 with another form plugin may not solve anything. If WordPress or the server isn’t delivering email correctly, your shiny new form can inherit exactly the same problem.

10. Test More Than Once

Once you’ve made a change, don’t assume one successful test means everything is fixed.

Submit several tests.

Where possible, use different sender addresses and check delivery to different receiving services.

For example, you might discover that messages arrive successfully at one domain but disappear when sent to a Gmail or Microsoft 365 account.

Also check:

  • how quickly the email arrives
  • whether it lands in the inbox or spam
  • whether the sender information looks correct
  • whether Reply goes to the person who submitted the form
  • whether all the form fields appear correctly in the notification

The objective isn’t simply to make one test email appear.

It’s to make the contact form reliably usable by your customers.

How Long Has Your Contact Form Been Broken?

This is the question that often gets overlooked.

You discovered today that your contact form isn’t delivering emails.

But when did it actually stop?

Yesterday?

Last Tuesday?

Three months ago?

If your form plugin stores submissions in the WordPress database, check whether there are entries that never reached you by email.

Some websites also have email logs that can show messages WordPress attempted to send.

Depending on the form and website configuration, it may therefore be possible to recover enquiries you didn’t know you’d received.

Unfortunately, not every contact form stores submissions. Some simply generate an email when the form is submitted.

That’s why, after fixing the immediate problem, it’s worth considering whether your important forms should also retain a secure record of submissions.

If your contact form has stopped working, don’t just fix today’s test. Find out whether you’ve missed genuine enquiries while it was broken.

Should You Fix It Yourself or Get Someone to Look at It?

If the problem is a typo in the recipient address or messages sitting in your spam folder, you’ve probably just fixed it yourself.

Excellent. We’d rather you spent your money on something more interesting.

But if you’ve reached the stage of SMTP configuration, DNS records, SPF, DKIM, DMARC, PHP mail, server logs or conflicting plugins, troubleshooting can quickly consume more time than the original problem deserves.

That’s exactly the sort of job Web Medic is here for.

We can check the form, identify whether the problem is with WordPress, the plugin, your hosting, email configuration or DNS, and get your enquiries arriving where they’re supposed to.

And if the problem turns out to be something unusual?

That’s fine too. We fix websites.

WordPress Contact Form Problems – Frequently Asked Questions

Why does my WordPress contact form say “sent” but I don't receive an email?

The successful message generally means the form has processed the submission; it doesn’t necessarily prove that the notification email reached your inbox. The email could subsequently be rejected, filtered as spam or fail because of the website’s email configuration.

Why is Contact Form 7 not sending emails?

Common causes include incorrect Mail settings, an unsuitable From address, WordPress email delivery problems, hosting configuration, spam filtering and email authentication issues. The exact cause needs to be diagnosed rather than assuming Contact Form 7 itself is faulty.

Will installing an SMTP plugin fix my WordPress contact form?

It often improves WordPress email reliability, but simply installing a plugin isn’t enough. The SMTP service must be correctly configured and authenticated, and the contact form should be tested afterwards.

Why are WordPress emails going to spam?

Receiving servers assess numerous signals including the sending server, domain authentication, sender address and message content. Incorrect SPF, DKIM or DMARC configuration and sending mail directly from some web servers can contribute to legitimate messages being treated as spam.

Can I recover contact form enquiries that weren't emailed to me?

Possibly. Some WordPress form plugins store submissions in the website database, while some websites have mail logging enabled. If neither applies, previous submissions may not have been retained.

Can Web Medic fix my WordPress contact form?

Yes. Whether the problem is the form itself, WordPress, a plugin conflict, SMTP, hosting, DNS or your email configuration, we can find the cause and fix it.

Need Your WordPress Contact Form Fixed?

A broken contact form can mean lost enquiries, missed bookings and potential customers who assume you’ve simply ignored them.

If yours isn’t working properly, send Web Medic your website address and tell us what’s happening.

We’ll take a look, work out what’s wrong and get it working again.