Hello, I guess this is my first post here.
Recently I keep seeing this error message every time there is an error in my code instead of the usual CI4 error debug page:
Code:
[b]Fatal error[/b]: Uncaught ErrorException: Undefined property: Config\Exceptions::$sensitiveDataInTrace in D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php:242 Stack trace: #0 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(242): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Undefined prope...', 'D:\\virtual2\\tas...', 242) #1 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(225): CodeIgniter\Debug\Exceptions->collectVars(Object(ErrorException), 500) #2 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(232): CodeIgniter\Debug\Exceptions->CodeIgniter\Debug\{closure}() #3 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(116): CodeIgniter\Debug\Exceptions->render(Object(ErrorException), 500) #4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #5 {main} thrown in [b]D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php[/b] on line [b]242[/b]
[b]Fatal error[/b]: Uncaught ErrorException: Undefined property: Config\Exceptions::$sensitiveDataInTrace in D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php:242 Stack trace: #0 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(242): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Undefined prope...', 'D:\\virtual2\\tas...', 242) #1 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(225): CodeIgniter\Debug\Exceptions->collectVars(Object(ErrorException), 500) #2 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(232): CodeIgniter\Debug\Exceptions->CodeIgniter\Debug\{closure}() #3 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(116): CodeIgniter\Debug\Exceptions->render(Object(ErrorException), 500) #4 D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php(158): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #5 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #6 {main} thrown in [b]D:\virtual2\taskapp\vendor\codeigniter4\framework\system\Debug\Exceptions.php[/b] on line [b]242[/b]
Everything was fine until recently after I updated CI4 (via composer update) to 4.1.5
How can I fix this?
TIA