waizrahman Posted August 30, 2018 Share Posted August 30, 2018 votefavorite I have disabled error messages on PrestaShop from define.in file .Now debug messages do not appear on the home page, but on the products pages they still appear even though i have checked php.ini, warning message still appear on product pages when i have set it to false in defines.php file I want to remove all debug messages from the entire site. This is what i am getting in header on product page Notice: Array to string conversion in /home/calgar29/public_html/classes/Dispatcher.php on line 683 This is the code: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); if (_PS_MODE_DEV_ === true) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); I am using PrestaShop 1.6. tried everythhing what could be solution Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now