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 'and cat_id = 54' at line 1 in select count(1) from dump_cat_index where post_id = and cat_id = 54
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 'and ip='3.135.194.15'' at line 1 in select vote from dump_votes where post= and ip='3.135.194.15'