Fatal error: Uncaught mysqli_sql_exception: 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 '-20,20' at line 1 in /usr/home/roanime/forum.anime-club.ro/forum/php8-fixes-restore-mysql-functions.php:96
Stack trace:
#0 /usr/home/roanime/forum.anime-club.ro/forum/php8-fixes-restore-mysql-functions.php(96): mysqli->query('SELECT pid FROM...')
#1 /usr/home/roanime/forum.anime-club.ro/forum/ips_kernel/class_db_mysql.php(479): mysql_query('SELECT pid FROM...', Object(mysqli))
#2 /usr/home/roanime/forum.anime-club.ro/forum/ips_kernel/class_db_mysql.php(379): db_driver->query('SELECT pid FROM...')
#3 /usr/home/roanime/forum.anime-club.ro/forum/sources/lib/topic_linear.php(255): db_driver->simple_exec()
#4 /usr/home/roanime/forum.anime-club.ro/forum/sources/topics.php(375): topic_display->display_topic()
#5 /usr/home/roanime/forum.anime-club.ro/forum/index.php(718): topics->auto_run()
#6 {main}
thrown in /usr/home/roanime/forum.anime-club.ro/forum/php8-fixes-restore-mysql-functions.php on line 96