A PHP Error was encountered

Severity: Warning

Message: Undefined array key "CITY_CITYID"

Filename: models/user_model.php

Line Number: 1523


Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /var/www/html/system/database/drivers/mysqli/mysqli_driver.php:180 Stack trace: #0 /var/www/html/system/database/drivers/mysqli/mysqli_driver.php(180): mysqli_query(Object(mysqli), 'SELECT 'thedrin...') #1 /var/www/html/system/database/DB_driver.php(454): CI_DB_mysqli_driver->_execute('SELECT 'thedrin...') #2 /var/www/html/system/database/DB_driver.php(300): CI_DB_driver->simple_query('SELECT 'thedrin...') #3 /var/www/html/system/application/models/user_model.php(1524): CI_DB_driver->query('SELECT 'thedrin...') #4 /var/www/html/system/application/controllers/dpblog.php(40): user_model->getIndividualArticleInfo('725') #5 /var/www/html/system/core/CodeIgniter.php(339): dpblog->read('725') #6 /var/www/html/index.php(190): require_once('/var/www/html/s...') #7 {main} thrown in /var/www/html/system/database/drivers/mysqli/mysqli_driver.php on line 180