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