Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND
INNER JOIN t_most_saled_actual_year ms ON ms.product...' at line 4 in /var/www/svarecky-obchod.cz/web/classes/MysqlClass.php:56
Stack trace:
#0 /var/www/svarecky-obchod.cz/web/classes/MysqlClass.php(56): mysqli_query(Object(mysqli), 'SELECT p.id \r\n...')
#1 /var/www/svarecky-obchod.cz/web/classes/MysqlClass.php(95): MySQL::qryStatic('SELECT p.id \r\n...')
#2 /var/www/svarecky-obchod.cz/web/classes/Cache/Memcached/MemcachedClass.php(156): MySQL::fetchStatic('SELECT p.id \r\n...')
#3 /var/www/svarecky-obchod.cz/web/classes/Cache/Memcached/MemcachedClass.php(110): MemcachedWrapper->getDbData('SELECT p.id \r\n...')
#4 /var/www/svarecky-obchod.cz/web/views/new_template/view/blog/blog.php(117): MemcachedWrapper->getSql('SELECT p.id \r\n...')
#5 /var/www/svarecky-obchod.cz/web/views/new_template/body.php(483): include_once('/var/www/svarec...')
#6 /var/www/svarecky-obchod.cz/web/index.php(133): include_once('/var/www/svarec...')
#7 {main}
thrown in
/var/www/svarecky-obchod.cz/web/classes/MysqlClass.php on line
56