How to disable notification, I try in idex.php But notification is an echo of how I can disable this.
<? define("YII_ENBLE_ERROR_HANDLER",false) define("YII_ENBLE_EXCEPTION_HANDLER",false) ?>
in php.ini
<?display_errors = off ?>
Public / index.php update
<?php define('YII_ENABLE_ERROR_HANDLER', false); define('YII_ENABLE_EXCEPTION_HANDLER', false); // Turn off all error reporting // error_reporting(0); // Report all errors except E_NOTICE // This is the default value set in php.ini error_reporting(E_ALL ^ E_NOTICE);
Source: https://habr.com/ru/post/1482812/More articles:Preventing the nose from detecting a package called βtuningβ? - pythonRegular expression for Indian mobile phone numbers? - c #Install Etherpad in a subdirectory - sslImproving EXTRACTVALUE performance in the WHERE clause - performanceHow does Microsoft make all .NET classes implicitly inherited from the Object class? Can I do the same? - inheritancePHP session ($ _SESSION []) even works to destroy a session - phpprint still writes the old value of the Session variable after destruction - phpHow to parse mathML in WordOpenXML output? - c #Spring security custom AuthenticationException message - javaMultiple statements Delphi TZquery (Zeos) error - mysqlAll Articles