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 /mnt/web/humanrights_php8/common/class/CDbshell.php:23
Stack trace:
#0 /mnt/web/humanrights_php8/common/class/CDbshell.php(23): mysqli_query()
#1 /mnt/web/humanrights_php8/common/class/CDbshell.php(306): CDbshell->query()
#2 /mnt/web/humanrights_php8/common/class/LibAll.php(17): CDbshell->getNum()
#3 /mnt/web/humanrights_php8/views/content/eng_m201_c.php(69): LibAll->getPageItem()
#4 /mnt/web/humanrights_php8/views/index.php(35): include_once('...')
#5 {main}
thrown in /mnt/web/humanrights_php8/common/class/CDbshell.php on line 23