Ошибка!

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 '03764', '11SU5E', '11SU5N', '33627-0010', '354250', '4122003', '42402', 'E218757' at line 7 in query: SELECT h.id FROM cms3_hierarchy h, cms3_object_content oc, cms3_object_fields o3f WHERE 1=1 AND h.obj_id = oc.obj_id AND o3f.name = 'kod_tovara' AND o3f.id = oc.field_id AND oc.varchar_val IN ('03764'03764', '11SU5E', '11SU5N', '33627-0010', '354250', '4122003', '42402', 'E218757', 'SPB1 SS') AND h.is_active = 1 AND h.is_deleted = 0 AND h.domain_id = 2 AND h.lang_id = 1 LIMIT 10
#0 /var/www/satellites/classes/components/catalog/customMacros.php(371): mysqliConnection->query('SELECT h.id\nFRO...')
#1 /var/www/satellites/classes/components/def_module.php(206): CatalogCustomMacros->getSmartGoods()
#2 /var/www/satellites/classes/system/subsystems/umiTemplaters/engine/ViewPhpExtension.php(177): def_module->__call('getSmartGoods', Array)
#3 /var/www/satellites/classes/system/subsystems/umiTemplaters/engine/PhpTemplateEngine.php(37): ViewPhpExtension->{closure}('catalog', 'getSmartGoods', Array, Array)
#4 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(127): PhpTemplateEngine->callHelper('macros', Array)
#5 /var/www/satellites/templates/main/php/layout/catalog/object.phtml(77): umiTemplaterPHP->__call('macros', Array)
#6 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(148): require('/var/www/satell...')
#7 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(116): umiTemplaterPHP->applyTemplate(Array, '/var/www/satell...')
#8 /var/www/satellites/templates/main/php/default_common.phtml(317): umiTemplaterPHP->render(Array, 'layout/catalog/...')
#9 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(148): require('/var/www/satell...')
#10 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(116): umiTemplaterPHP->applyTemplate(Array, '/templates/main')
#11 /var/www/satellites/templates/main/php/default.phtml(82): umiTemplaterPHP->render(Array, 'default_common')
#12 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(148): require('/var/www/satell...')
#13 /var/www/satellites/classes/system/subsystems/umiTemplaters/types/umiTemplaterPHP.php(98): umiTemplaterPHP->applyTemplate(Array, '/var/www/satell...')
#14 /var/www/satellites/libs/root-src/index.php(135): umiTemplaterPHP->parse(Array, '')
#15 /var/www/satellites/index.php(3): require('/var/www/satell...')
#16 {main}
Вернуться на главную