Fatal error: Uncaught TypeError: mysqli_real_escape_string(): Argument #1 ($mysql) must be of type mysqli, bool given in /home/christ33/public_html/education/system/database/drivers/mysqli/mysqli_driver.php:316
Stack trace:
#0 /home/christ33/public_html/education/system/database/drivers/mysqli/mysqli_driver.php(316): mysqli_real_escape_string(false, '54a3a305baee5d6...')
#1 /home/christ33/public_html/education/system/database/DB_driver.php(686): CI_DB_mysqli_driver->escape_str('54a3a305baee5d6...')
#2 /home/christ33/public_html/education/system/database/DB_active_rec.php(428): CI_DB_driver->escape('54a3a305baee5d6...')
#3 /home/christ33/public_html/education/system/database/DB_active_rec.php(367): CI_DB_active_record->_where(Array, '54a3a305baee5d6...', 'AND ', true)
#4 /home/christ33/public_html/education/system/libraries/Session.php(218): CI_DB_active_record->where('session_id', '54a3a305baee5d6...')
#5 /home/christ33/public_html/education/system/libraries/Session.php(107): CI_Session->sess_read()
#6 /home/christ33/public_html/education/system/core/Loader.php(1100): CI_Session->__construct()
#7 /home/christ33/public_html/education/system/core/Loader.php(976): CI_Loader->_ci_init_class('session', '', NULL, NULL)
#8 /home/christ33/public_html/education/system/core/Loader.php(217): CI_Loader->_ci_load_class('Session', NULL, NULL)
#9 /home/christ33/public_html/education/system/application/core/MY_Controller.php(42): CI_Loader->library('session')
#10 /home/christ33/public_html/education/system/application/controllers/book.php(48): MY_Controller->__construct()
#11 /home/christ33/public_html/education/system/core/CodeIgniter.php(309): Book->__construct()
#12 /home/christ33/public_html/education/codeigniter.php(203): require_once('/home/christ33/...')
#13 {main}
thrown in /home/christ33/public_html/education/system/database/drivers/mysqli/mysqli_driver.php on line 316