When you run into errors or malfunctions for your store you may want to debug the application. This allows you to track down any offending code and fix it. PrestaShop 1.6 has some new features you can use to help you debug your store. One of these features is to disable all overrides.
PrestaShop’s object oriented code allows you to override the core code by extending the classes with your own code. By disabling all overrides and running the normal core code, you can test and see if the error persists. If it does, the issue is within the core code. If the issue stops after disabling the overrides, you will know the error exists in the extension code. This helps give you a starting point for tracking down the error.
How to disable all overrides in PrestaShop 1.6
- First, you will need to enable debug mode/error reporting.
- Next, log into your PrestaShop 1.6 administration dashboard.
Once in the dashboard, click on the Advanced Parameters menu option located on the left hand sidebar. From there, click on the Performance link.
You are now on the Performance page. Look to the Debug Mode section and toggle the Disable All Overrides button.
- Click on the Save button to activate the setting.