Deprecated: Required parameter $userAgent follows optional parameter $body in /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 161

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:161) in /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', '/home/ftuntan/s...', 164) #1 /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 {main} thrown in /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 164

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php:161) in /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php:164 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', '/home/ftuntan/s...', 164) #1 /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php(164): header('HTTP/1.1 500 In...', true, 500) #2 /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php(224): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in /home/ftuntan/simalum-app/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 164