Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2517384 bytes) in /var/www/khabarnews/system/Database/MySQLi/Connection.php on line 292

Fatal error: Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/khabarnews/system/Database/MySQLi/Connection.php:292) in /var/www/khabarnews/system/HTTP/ResponseTrait.php:759 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /var/www/khabarnews/system/HTTP/ResponseTrait.php(759): setcookie() #2 /var/www/khabarnews/system/HTTP/ResponseTrait.php(735): CodeIgniter\HTTP\Response->doSetCookie() #3 /var/www/khabarnews/system/HTTP/ResponseTrait.php(715): CodeIgniter\HTTP\Response->dispatchCookies() #4 /var/www/khabarnews/system/HTTP/ResponseTrait.php(446): CodeIgniter\HTTP\Response->sendCookies() #5 /var/www/khabarnews/system/Debug/Exceptions.php(133): CodeIgniter\HTTP\Response->send() #6 /var/www/khabarnews/system/Debug/Exceptions.php(213): CodeIgniter\Debug\Exceptions->exceptionHandler() #7 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler() #8 {main} thrown in /var/www/khabarnews/system/HTTP/ResponseTrait.php on line 759

Fatal error: Uncaught mysqli_sql_exception: Commands out of sync; you can't run this command now in /var/www/khabarnews/system/Database/MySQLi/Connection.php:292 Stack trace: #0 /var/www/khabarnews/system/Database/MySQLi/Connection.php(292): mysqli->query() #1 /var/www/khabarnews/system/Database/BaseConnection.php(666): CodeIgniter\Database\MySQLi\Connection->execute() #2 /var/www/khabarnews/system/Database/BaseConnection.php(593): CodeIgniter\Database\BaseConnection->simpleQuery() #3 /var/www/khabarnews/system/Database/BaseBuilder.php(2079): CodeIgniter\Database\BaseConnection->query() #4 /var/www/khabarnews/system/Session/Handlers/DatabaseHandler.php(212): CodeIgniter\Database\BaseBuilder->update() #5 [internal function]: CodeIgniter\Session\Handlers\DatabaseHandler->write() #6 {main} thrown in /var/www/khabarnews/system/Database/MySQLi/Connection.php on line 292

Fatal error: Uncaught ErrorException: PHP Request Shutdown: Cannot call session save handler in a recursive manner in Unknown:0 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 {main} thrown in Unknown on line 0