error is logged. but it does not throw an exception. |
writes the following error to the codeigniter log file.
However, it does not throw an error in the output even though the project is in developer mode. I am aware of the cause and the solution, but you won't notice it if you don't review the logs during the development process. Why can't we see it on the screen? WARNING - 2024-05-07 21:05:38 --> [DEPRECATED] Creation of dynamic property App\Libraries\Template::$__version is deprecated in APPPATH/Libraries/Template.php on line 30. 1 APPPATH/Controllers/BaseController.php(41): App\Libraries\Template->setData('version', '2.0.0.1a1') 2 APPPATH/Controllers/Approval.php(10): App\Controllers\BaseController->__construct() 3 SYSTEMPATH/CodeIgniter.php(903): App\Controllers\Approval->__construct() 4 SYSTEMPATH/CodeIgniter.php(500): CodeIgniter\CodeIgniter->createController() 5 SYSTEMPATH/CodeIgniter.php(355): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false) 6 SYSTEMPATH/Boot.php(312): CodeIgniter\CodeIgniter->run() 7 SYSTEMPATH/Boot.php(67): CodeIgniter\Boot::runCodeIgniter(Object(CodeIgniter\CodeIgniter)) 8 FCPATH/index.php(57): CodeIgniter\Boot::bootWeb(Object(Config\Paths))
It seems by default DEPRECATED errors are logged.
Change the following setting. PHP Code: --- a/app/Config/Exceptions.php |
Welcome Guest, Not a member yet? Register Sign In |