General

How to show errors in PrestaShop

Debugging PrestaShop helps you quickly find and fix errors and warnings in your PrestaShop site code, modules and themes.

By default, PrestaShop does not show warnings or errors. Enabling debugging is easy.

Steps to enable debugging in PrestaShop version 1.5.3 and later

  1. Open config/defines.inc.php in your code editor or in cPanel File Manager
  2. Locate the following line
    define('_PS_MODE_DEV_', false);
  3. Change to
    define('_PS_MODE_DEV_', true);
  4. Save your changes

Your PrestaShop site will now display any errors, notices and warnings from your plugins, themes and code.

For security we strongly recommend disabling PS_MODE_DEV once you’ve finished debugging.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London