Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home2/bandarec/public_html/BRC/app/Config/Events.php:32) in /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php:123 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php(123): header() #2 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler() #3 {main} thrown in /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 123

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /home2/bandarec/public_html/BRC/app/Config/Events.php:32) in /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php:123 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php(123): header() #2 /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php(169): CodeIgniter\Debug\Exceptions->exceptionHandler() #3 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #4 {main} thrown in /home2/bandarec/public_html/BRC/vendor/codeigniter4/framework/system/Debug/Exceptions.php on line 123