Support

PrestaShop error 500 or blank page: causes and step-by-step fix

Your PrestaShop store shows an error 500 or a blank page. How to see the real error and what to check first.

Error 500 on a PrestaShop store and steps to fix it

You open your store and see an error 500, a blank white page, or the back office won't load. Every minute like this means lost orders. The good news: the cause is almost always specific, and you can find it quickly if you follow an order.

This guide shows how to see the real error and what to check first. If you'd rather I look at it, you'll find how to contact me at the end.

Before you touch anything: back up the files and the database. Many stores get worse because of changes made blindly.

What an error 500 in PrestaShop really means

An error 500 or blank page isn't "the error", it's the symptom. PHP failed while building the page, and the server hides the reason from visitors. The first step is always to see the real message.

Step 1 · Turn on debug mode to see the real error

  • If you can log in to the back office: go to Advanced Parameters › Performance and turn on debug mode. Reload the failing page and you'll see the message with the file and line.
  • If the back office doesn't load either: in PrestaShop 1.7 and 8, edit config/defines.inc.php and set _PS_MODE_DEV_ to true.
  • Check the logs: PrestaShop's var/logs/ folder and the server error log (cPanel, Plesk or the host's error_log).

When you're done, turn debug mode off again: it must not stay on in a live store.

Step 2 · The most common causes (and what to do)

1. A recently installed or updated module

This is the number one cause. If the error mentions a folder inside /modules/, disable that module. If you can't log in, rename its folder (for example /modules/modulename → /modules/modulename_off) and test again.

2. Corrupted PrestaShop cache

Common after an update or a module change. Empty the contents of var/cache/prod/ and var/cache/dev/ (don't delete the folders). PrestaShop rebuilds it.

3. Incompatible PHP version

If your host upgraded PHP, an older store can stop working. PrestaShop 1.6 and 1.7 don't run on PHP 8, and PrestaShop 9 needs PHP 8.1 or higher. Check which version your server runs and which one your PrestaShop version supports.

4. Overrides that break after an update

Overrides change PrestaShop's core and often break after updating. In Advanced Parameters › Performance you can disable all overrides to check whether the problem comes from there.

5. Not enough PHP memory or limits

Errors like "Allowed memory size exhausted", or pages that cut off when saving products with many combinations, usually mean memory_limit, max_execution_time or max_input_vars are too low. I describe a real case in PrestaShop 1.7 freezing with combinations and max_input_vars.

6. File permissions or a broken .htaccess

After a server move, wrong permissions or a .htaccess with old rules can cause an error 500. Regenerate .htaccess from Shop Parameters › Traffic & SEO by saving the settings.

7. Malicious code

If you see files you don't recognise, strange redirects, or an empty back-office login, the store may be infected. Here's a real case: empty login caused by malware in PrestaShop 1.6.

What not to do while the store is down

  • Reinstall PrestaShop on top of the store.
  • Delete folders or tables you don't understand.
  • Install more "repair" modules.
  • Upgrade in a panic without a backup.

What if the error keeps coming back?

If the error 500 returns every so often, the underlying problem is usually an old PrestaShop or PHP version, unmaintained modules or a server short on resources. What works there is monthly maintenance or planning the upgrade to PrestaShop 9.

Frequently asked questions

Do I lose orders with an error 500?
No. Orders and customers are stored in the database. The error stops the store from showing, but the data is still there as long as nothing is deleted.

How long does it take to fix?
It depends on the cause. A module or the cache are quick. A PHP incompatibility or an infection takes more work.

Can I fix it myself?
If you have FTP and hosting panel access and follow the steps with a backup, yes. If the store sells every day, it's better to have someone who does this often.

Is your store still down?

I'm a PrestaShop developer in Madrid and I fix broken stores every week: error 500, blank pages, broken checkout or failing payments. I back up before touching anything and give you a fixed price before I start. More on urgent PrestaShop support.

Message me on WhatsApp and I'll take a look

Need the same kind of diagnosis?

Send the public URL and the symptom. I reply directly with a next step or a scoped quote.

WhatsApp
Next step

If this matches your store, write

A blog post is not a quote. Share the URL and what is failing. I tell you whether it starts hourly or needs a closed estimate.

WhatsApp Request a quote