ERROR/HATA: 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 articleid = 1 AND date = 20240319 AND type = 1' at line 1
CMD: SELECT COUNT(*) FROM stats WHERE journalid = AND articleid = 1 AND date = 20240319 AND type = 1 ERROR/HATA: 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 ' 1, 20240319, 1)' at line 1
CMD: INSERT INTO stats (journalid, articleid, date, type) VALUES (, 1, 20240319, 1) ERROR/HATA: 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 articleid = 1 AND date = 20240319 AND type = 1' at line 1
CMD: UPDATE stats SET count = count + 1 WHERE journalid = AND articleid = 1 AND date = 20240319 AND type = 1