What is STRICT_ERROR_REPORTING
STRICT_ERROR_REPORTING is a setting that can be used by developers to tell the store to override its normal security protection mode, which prevents the display of error messages to your screen.
Caveat: Outputting errors to the screen can cause some screens or features to not work correctly, especially those which involve being forwarded to another page based on certain criteria or after certain steps are completed.
Caveat: Also, using this option poses a security risk because error messages will disclose path and database information to malicious visitors who attempt rogue behaviors on your store. THUS, THIS SETTING SHOULD ONLY BE USED IN AN OFFLINE DEVELOPMENT ENVIRONMENT. Using it on a live store poses risks, and should only be used for short-term troubleshooting of a problem which can’t be solved any other way.
STRICT_ERROR_REPORTING, simply use your FTP tool to upload a simple file to your store’s site like this:
- For storefront problems, put it at:
For admin problems, put it at:
<?php define('STRICT_ERROR_REPORTING', TRUE);
When you’re done, simply delete the file you just created above.
If that doesn’t disable it, then that means you’ve enabled it in another file on your server. You will need to search your entire site for that define statement and remove it. (See the Developer’s Toolkit for that.)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.