Welcome Guest, Not a member yet? Register   Sign In
What should I do to show deprecations errors in the output?
#1

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?
Reply
#2

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.
https://codeigniter4.github.io/CodeIgnit...n-warnings
Reply
#3

Sorry, the above documentation was wrong.
See https://github.com/codeigniter4/CodeIgniter4/pull/8866
Reply




Theme © iAndrew 2016 - Forum software by © MyBB