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 'OR ct1.seq = ) AND ct1.hide = 0
UNION ALL
SELECT ct1.seq
FROM tbl_categor...' at line 9 in /var/www/vhosts/dri.co.jp/httpdocs/PHPLibs/Database.php:40
Stack trace:
#0 /var/www/vhosts/dri.co.jp/httpdocs/PHPLibs/Database.php(40): mysqli_query()
#1 /var/www/vhosts/dri.co.jp/httpdocs/auto/sector_headline.php(389): DBQuery()
#2 /var/www/vhosts/dri.co.jp/httpdocs/auto/sector_headline.php(71): _GetRecommenReports()
#3 /var/www/vhosts/dri.co.jp/httpdocs/PHPLibs/CommonFunctions.php(604): {closure}()
#4 /var/www/vhosts/dri.co.jp/httpdocs/auto/sector_headline.php(72): apcRemember()
#5 {main}
thrown in /var/www/vhosts/dri.co.jp/httpdocs/PHPLibs/Database.php on line 40