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 '' at line 1 in /home/csirke/public_html/include/mysql2i.class.php:460
Stack trace:
#0 /home/csirke/public_html/include/mysql2i.class.php(460): mysqli_query(Object(mysqli), 'LOCK TABLES pm_...')
#1 /home/csirke/public_html/include/mysql2i.func.php(207): mysql2i::mysql_query('LOCK TABLES pm_...', Object(mysqli))
#2 /home/csirke/public_html/include/functions.php(4644): mysql_query('LOCK TABLES pm_...')
#3 /home/csirke/public_html/topgifs.php(400): reset_chart()
#4 {main}
thrown in /home/csirke/public_html/include/mysql2i.class.php on line 460