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 'AND sid IN (SELECT aa_data_sid FROM `allarticle` WHERE unitcode = 'm4_s1') ...' at line 1 in /var/www/html/common/class/CDbshell.php:23
Stack trace:
#0 /var/www/html/common/class/CDbshell.php(23): mysqli_query()
#1 /var/www/html/common/class/CDbshell.php(306): CDbshell->query()
#2 /var/www/html/common/class/LibAll.php(17): CDbshell->getNum()
#3 /var/www/html/views/content/eng_m201_c.php(69): LibAll->getPageItem()
#4 /var/www/html/views/index.php(35): include_once('...')
#5 {main}
thrown in /var/www/html/common/class/CDbshell.php on line 23