Meryle Posted January 9, 2021 Share Posted January 9, 2021 Bonjour Lorsque j'active le mode debug, cela m'affiche toutes les erreurs notice. Est-il possible de lui dire ne n'afficher que les erreurs fatales sans les notice ni les warning ? Je suis sur prestashop 1.7.7. Mon code dans defines.inc.php ressemble a ça : 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_NOTICE & ~E_STRICT); define('_PS_DEBUG_SQL_', true); } 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