Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #1 ($mysql) must be of type mysqli, bool given in /home/muralarc/scalar.sparcinla.org/system/database/drivers/mysqli/mysqli_driver.php:316
Stack trace:
#0 /home/muralarc/scalar.sparcinla.org/system/database/drivers/mysqli/mysqli_driver.php(316): mysqli_real_escape_string(false, '06af4fc9f6947d7...')
#1 /home/muralarc/scalar.sparcinla.org/system/database/DB_driver.php(686): CI_DB_mysqli_driver->escape_str('06af4fc9f6947d7...')
#2 /home/muralarc/scalar.sparcinla.org/system/database/DB_driver.php(911): CI_DB_driver->escape('06af4fc9f6947d7...')
#3 /home/muralarc/scalar.sparcinla.org/system/libraries/Session.php(345): CI_DB_driver->insert_string('scalar_db_sessi...', Array)
#4 /home/muralarc/scalar.sparcinla.org/system/libraries/Session.php(109): CI_Session->sess_create()
#5 /home/muralarc/scalar.sparcinla.org/system/core/Loader.php(1100): CI_Session->__construct()
#6 /home/muralarc/scalar.sparcinla.org/system/core/Loader.php(976): CI_Loader->_ci_init_class('session', '', NULL, NULL)
#7 /home/muralarc/scalar.sparcinla.org/system/core/Loader.php(217): CI_Loader->_ci_load_class('Session', NULL, NULL)
#8 /home/muralarc/scalar.sparcinla.org/system/application/core/MY_Controller.php(42): CI_Loader->library('session')
#9 /home/muralarc/scalar.sparcinla.org/system/application/controllers/book.php(48): MY_Controller->__construct()
#10 /home/muralarc/scalar.sparcinla.org/system/core/CodeIgniter.php(309): Book->__construct()
#11 /home/muralarc/scalar.sparcinla.org/codeigniter.php(203): require_once('/home/muralarc/...')
#12 {main}
thrown in /home/muralarc/scalar.sparcinla.org/system/database/drivers/mysqli/mysqli_driver.php on line 316