Fatal error: '
Error: 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 'AND language_id = 2 AND main_table.status = 1' at line 4
Error No: 1064
SELECT
main_table.*,lang_table.*,
main_table.category_id AS id,
name AS lang_field, language_id FROM oc_category AS main_table LEFT JOIN oc_category_description AS lang_table ON main_table.category_id = lang_table.category_id WHERE main_table.category_id = AND language_id = 2 AND main_table.status = 1'
in /home/tospitaki/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 system/storage/modification/system/library/db.php(30): DB\MySQLi->query('SELECT\r\n ...', Array)
#1 system/vendor/BurnEngine/extension/seo/catalog/model/generatorModel.php(89): DB->query('SELECT\r\n ...')
#2 system/vendor/BurnEngine/extension/seo/catalog/model/generatorModel.php(9): Seo_Catalog_GeneratorModel->getRecord('category', NULL, 2)
#3 system/vendor/BurnEngine/extension/seo/catalog/SeoCatalogExtension.php(63): Seo_Catalog_GeneratorModel->buildH1Heading('category', NULL, Array)
#4 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(112): Seo_Catalog_Extension->filterCategoryHeadingTitle(Object(sfEvent), Array)
#5 system/vendor/BurnEngine/library/ViewSlot.php(51): sfEventDispatcher->filter(Object(sfEvent), Array)
#6 system/vendor/BurnEngine/library/ViewSlot.php(98): TB_ViewSlot->filter('product/categor...', Array, Array)
#7 system/vendor/BurnEngine/library/ViewDataBag.php(193): TB_ViewSlot->start('product/categor...', Array)
#8 vqmod/vqcache/vq2-catalog_view_theme_BurnEngine_template_product_category.tpl(16): TB_ViewDataBag->slotStart('product/categor...', Array)
#9 vqmod/vqcache/vq2-system_storage_modification_system_library_template_php.php(18): require('/home/tospitaki...')
#10 system/library/template.php(20): Template\PHP->render('BurnEngine/temp...')
#11 vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(106): Template->render('BurnEngine/temp...')
#12 vqmod/vqcache/vq2-system_storage_modification_catalog_controller_product_category.php(474): Loader->view('product/categor...', Array)
#13 [internal function]: ControllerProductCategory->index()
#14 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): call_user_func_array(Array, Array)
#15 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#16 [internal function]: ControllerStartupRouter->index()
#17 vqmod/vqcache/vq2-system_storage_modification_system_engine_action.php(51): call_user_func_array(Array, Array)
#18 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#19 system/storage/modification/system/engine/front.php(32): Front->execute(Object(Action))
#20 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#21 vqmod/vqcache/vq2-system_startup.php(124): require_once('/home/tospitaki...')
#22 index.php(24): start('catalog')
#23 {main}