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 ') ORDER BY order_number ASC, id ASC' at line 1 in SELECT * FROM `class_topic` WHERE class_id IN () ORDER BY order_number ASC, id ASC
array ( 0 => array ( 'file' => '/data/domains/hoc24h.vn/core/core/DB.php', 'line' => 295, 'function' => 'query', 'class' => 'DB', 'type' => '::', 'args' => array ( 0 => 'SELECT * FROM `class_topic` WHERE class_id IN () ORDER BY order_number ASC, id ASC', 1 => '', ), ), 1 => array ( 'file' => '/data/domains/hoc24h.vn/home/modules/Personal/forms/PersonalHome.php', 'line' => 186, 'function' => 'select_all', 'class' => 'DB', 'type' => '::', 'args' => array ( 0 => 'class_topic', 1 => 'class_id IN ()', 2 => 'order_number ASC, id ASC', ), ), 2 => array ( 'file' => '/data/domains/hoc24h.vn/core/core/Form.php', 'line' => 340, 'function' => 'draw', 'class' => 'PersonalHome', 'object' => PersonalHome::__set_state(array( 'name' => 'PersonalHome', 'error_messages' => false, 'succes_messages' => false, 'errNum' => 0, )), 'type' => '->', 'args' => array ( ), ), 3 => array ( 'file' => '/data/domains/hoc24h.vn/core/core/Module.php', 'line' => 27, 'function' => 'on_draw', 'class' => 'Form', 'object' => PersonalHome::__set_state(array( 'name' => 'PersonalHome', 'error_messages' => false, 'succes_messages' => false, 'errNum' => 0, )), 'type' => '->', 'args' => array ( ), ), 4 => array ( 'file' => '/data/domains/hoc24h.vn/core/core/Module.php', 'line' => 33, 'function' => 'draw', 'class' => 'Module', 'object' => Personal::__set_state(array( 'data' => array ( 'id' => '50149', 'module_id' => '5743', 'region' => 'center', 'module' => array ( 'id' => '5743', 'name' => 'Personal', ), ), 'forms' => array ( 0 => PersonalHome::__set_state(array( 'name' => 'PersonalHome', 'error_messages' => false, 'succes_messages' => false, 'errNum' => 0, )), ), )), 'type' => '->', 'args' => array ( ), ), 5 => array ( 'file' => '/data/domains/hoc24h.vn/home/_cache/pages/personal.php', 'line' => 19, 'function' => 'on_draw', 'class' => 'Module', 'object' => Personal::__set_state(array( 'data' => array ( 'id' => '50149', 'module_id' => '5743', 'region' => 'center', 'module' => array ( 'id' => '5743', 'name' => 'Personal', ), ), 'forms' => array ( 0 => PersonalHome::__set_state(array( 'name' => 'PersonalHome', 'error_messages' => false, 'succes_messages' => false, 'errNum' => 0, )), ), )), 'type' => '->', 'args' => array ( ), ), 6 => array ( 'file' => '/data/domains/hoc24h.vn/core/core/EClass.php', 'line' => 33, 'args' => array ( 0 => '/data/domains/hoc24h.vn/home/_cache/pages/personal.php', ), 'function' => 'require_once', ), 7 => array ( 'file' => '/data/domains/hoc24h.vn/home/index.php', 'line' => 37, 'function' => 'Run', 'class' => 'EClass', 'type' => '::', 'args' => array ( ), ), )