Другой город 8-800-505-4051

Добавить товар Добавить раздел Удалить раздел

SQLSTATE[42000]: Syntax error or access violation: 1064 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 sync.count>0' at line 1
SELECT store.i, sync.price, sync.count, sync.vendor vendor, store.price _price, store.count _count, store.vendor _vendor FROM store,sync WHERE store.i=sync.store AND store.brand IN (86,243,251,309,406,524) AND store.up IN () AND sync.count>0


Fatal error: Uncaught Error: Call to a member function fetch() on boolean in /data/www/ruvix/--/database.inc:156 Stack trace: #0 /data/www/ruvix/--/block/work/prices-calc.php(45): db_fetch(false) #1 /data/www/ruvix/--/block/work/prices-calc.php(16): prices_calc_vendor(Array) #2 /data/www/ruvix/--/block/types/cron.php(52): prices_calc(Array) #3 /data/www/ruvix/--/first.inc(196): include('/data/www/ruvix...') #4 /data/www/ruvix/index.php(61): w('cron') #5 {main} thrown in /data/www/ruvix/--/database.inc on line 156