Notice: Undefined variable: arr in /var/www/teplogaz74/data/www/teplogaz74.ru/catalog/model/catalog/product.php on line 442Warning: implode(): Invalid arguments passed in /var/www/teplogaz74/data/www/teplogaz74.ru/catalog/model/catalog/product.php on line 442
Fatal error: Uncaught ErrorException: Error: 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 ') ORDER BY RAND() LIMIT 4' at line 1<br />Error No: 1064<br />SELECT * FROM product INNER JOIN product_to_category USING(product_id) WHERE product_to_category.category_id IN () ORDER BY RAND() LIMIT 4 in /var/www/teplogaz74/data/www/teplogaz74.ru/system/database/mysqli.php:41 Stack trace: #0 /var/www/teplogaz74/data/www/teplogaz74.ru/system/library/db.php(20): DBMySQLi->query('SELECT * FROM p...') #1 /var/www/teplogaz74/data/www/teplogaz74.ru/catalog/model/catalog/product.php(444): DB->query('SELECT * FROM p...') #2 /var/www/teplogaz74/data/www/teplogaz74.ru/catalog/controller/product/product.php(319): ModelCatalogProduct->getProductCategoryRandom('2997') #3 /var/www/teplogaz74/data/www/teplogaz74.ru/system/engine/front.php(42): ControllerProductProduct->index() #4 /var/www/teplogaz74/data/www/teplogaz74.ru/system/engine/front.php(29): Front-> in /var/www/teplogaz74/data/www/teplogaz74.ru/system/database/mysqli.php on line 41