mysqli_sql_exception Object ( [message:protected] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [string:Exception:private] => [code:protected] => 1064 [file:protected] => /var/www/html/system/database/drivers/mysqli/mysqli_driver.php [line:protected] => 180 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/html/system/database/drivers/mysqli/mysqli_driver.php [line] => 180 [function] => mysqli_query [args] => Array ( [0] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 8.1.31 [client_version] => 80131 [connect_errno] => 0 [connect_error] => [errno] => 1064 [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 [error_list] => Array ( [0] => Array ( [errno] => 1064 [sqlstate] => 42000 [error] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ) ) [field_count] => 0 [host_info] => kuldew-main-cluster-do-user-18487693-0.f.db.ondigitalocean.com via TCP/IP [info] => [insert_id] => 0 [server_info] => 8.0.35 [server_version] => 80035 [sqlstate] => 42000 [protocol_version] => 10 [thread_id] => 205521 [warning_count] => 0 ) [1] => SELECT * from car_website_package where is_active=1 order by rank ) ) [1] => Array ( [file] => /var/www/html/system/database/DB_driver.php [line] => 454 [function] => _execute [class] => CI_DB_mysqli_driver [type] => -> [args] => Array ( [0] => SELECT * from car_website_package where is_active=1 order by rank ) ) [2] => Array ( [file] => /var/www/html/system/database/DB_driver.php [line] => 300 [function] => simple_query [class] => CI_DB_driver [type] => -> [args] => Array ( [0] => SELECT * from car_website_package where is_active=1 order by rank ) ) [3] => Array ( [file] => /var/www/html/application/controllers/admin.php [line] => 37992 [function] => query [class] => CI_DB_driver [type] => -> [args] => Array ( [0] => SELECT * from car_website_package where is_active=1 order by rank ) ) [4] => Array ( [file] => /var/www/html/system/core/CodeIgniter.php [line] => 360 [function] => website_info [class] => Admin [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => /var/www/html/index.php [line] => 205 [args] => Array ( [0] => /var/www/html/system/core/CodeIgniter.php ) [function] => require_once ) ) [previous:Exception:private] => [sqlstate:protected] => 42000 )