![]() |
What should I do to show deprecations errors in the output? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: What should I do to show deprecations errors in the output? (/showthread.php?tid=90763) |
What should I do to show deprecations errors in the output? - mywebmanavgat - 04-29-2024 When I examine the logs in a project I am developing with Codeigniter 4, there are Deprecations log records for some of the codes I use. How can I ensure that codeigniter throws an exception to the screen when it receives such an error, at least when developer mode is on? RE: What should I do to show deprecations errors in the output? - kenjis - 04-29-2024 Quote:By default, all errors reported by error_reporting() will be thrown as an ErrorException object. These include both E_DEPRECATED and E_USER_DEPRECATED errors. RE: What should I do to show deprecations errors in the output? - kenjis - 05-07-2024 Sorry, the above documentation was wrong. See https://github.com/codeigniter4/CodeIgniter4/pull/8866 |