I downloade development version from github, but not show this error for php on xampp 8.0.0
Code:
Deprecated: Required parameter $userAgent follows optional parameter $body in /opt/lampp/htdocs/hu/of/system/HTTP/IncomingRequest.php on line 131
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/of/ofi/app/Config/Events.php:35) in /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php:137 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', '/opt/lampp/htdo...', 137) #1 /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php(137): header('HTTP/1.1 500 In...', true, 500) #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 {main} thrown in /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php on line 137
Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/of/ofi/app/Config/Events.php:35) in /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php:137 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'Cannot modify h...', '/opt/lampp/htdo...', 137) #1 /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php(137): header('HTTP/1.1 500 In...', true, 500) #2 /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php(197): CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException)) #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in /opt/lampp/htdocs/of/ofi/system/Debug/Exceptions.php on line 137
Use XAMPP 8.0.0
Fedora 33 x86_64
Codeigniter 4 from github