Fatal error: Uncaught exception 'Exception' with message 'ERROR: bad query - INSERT INTO statscityvisit (statsId,cityId,amount) values('2025-03-15',,1) - 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)' at line 1' in /krys/hotelpl/core/Mysql.php:125
Stack trace:
#0 /krys/hotelpl/models/StatCreator.php(107): Mysql->query('INSERT INTO sta...')
#1 /krys/hotelpl/models/StatCreator.php(36): StatCreator->addCityVisit()
#2 /krys/hotelpl/index.php(9): StatCreator->countVisit()
#3 {main}
thrown in /krys/hotelpl/core/Mysql.php on line 125