как поправить следующую ошибку

1

подскажите пожалуйста как пофиксить следующую ошибку из логов
2019-05-07 22:55:06 217.69.143.64
Query Error 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 ')' at line 1
Query: SELECT * FROM mylang WHERE type = 'category' AND locale IN ('en_US') AND type_id IN ()
## wa-system/database/waModel.class.php(257)
#0 wa-system/database/waModel.class.php(357): waModel->run('SELECT * FROM m...')
#1 wa-system/database/waDbStatement.class.php(229): waModel->query('SELECT * FROM m...')
#2 wa-system/database/waModel.class.php(337): waDbStatement->query(Array)
#3 wa-apps/mylang/lib/model/mylang.model.php(202): waModel->query('SELECT * FROM m...', 'category', 'en_US', Array)
#4 wa-apps/mylang/lib/classes/mylangShopViewHandler.class.php(85): mylangModel->getValues('category', Array, 'en_US')
#5 wa-apps/mylang/lib/classes/mylangShopViewHandler.class.php(20): mylangShopViewHandler->view_categoriesAction(Array)
#6 wa-system/event/waEvent.class.php(173): mylangShopViewHandler->execute(Array, 'view_categories')
#7 wa-system/event/waEvent.class.php(90): waEvent->runApps(Array, Array)
#8 wa-system/waSystem.class.php(1519): waEvent->run(Array)
#9 wa-apps/shop/lib/classes/shopViewHelper.class.php(829): waSystem->event('view_categories', Array)
#10 wa-cache/apps/shop/templates/compiled/shop_en_US/84/b5/2e/84b52ea503e81bc98f3b2b268b464e4f7daf56e9.file.index.html.php(563): shopViewHelper->categories(0, NULL, true)
#11 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(184): content_5c874e297a0d40_52749367(Object(Smarty_Internal_Template))
#12 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(378): Smarty_Internal_TemplateBase->fetch('file:index.html', NULL, NULL, Object(Smarty), true)
#13 wa-system/view/waSmarty3View.class.php(129): Smarty_Internal_TemplateBase->display('file:index.html', NULL)
#14 wa-system/layout/waLayout.class.php(150): waSmarty3View->display('file:index.html')
#15 wa-system/controller/waViewController.class.php(104): waLayout->display()
#16 wa-system/controller/waViewController.class.php(47): waViewController->display()
#17 wa-system/controller/waFrontController.class.php(254): waViewController->run(NULL)
#18 wa-system/controller/waFrontController.class.php(189): waFrontController->runController(Object(waDefaultViewController), NULL)
#19 wa-system/controller/waFrontController.class.php(83): waFrontController->execute(NULL, 'frontend', 'category')
#20 wa-apps/shop/plugins/seofilter/lib/classes/core/routing/shopSeofilterRouting.class.php(236): waFrontController->dispatch()
#21 wa-apps/shop/plugins/seofilter/lib/classes/core/hook_handlers/frontend/shopSeofilterRoutingHandler.class.php(61): shopSeofilterRouting->redispatch()
#22 wa-apps/shop/plugins/seofilter/lib/classes/core/hook_handlers/frontend/shopSeofilterRoutingHandler.class.php(13): shopSeofilterRoutingHandler->core()
#23 wa-apps/shop/plugins/seofilter/lib/classes/core/hook_handlers/shopSeofilterHookHandler.class.php(33): shopSeofilterRoutingHandler->handle()
#24 wa-apps/shop/plugins/seofilter/lib/shopSeofilter.plugin.php(16): shopSeofilterHookHandler->run()
#25 wa-system/event/waEvent.class.php(238): shopSeofilterPlugin->routing(Array, 'routing')
#26 wa-system/event/waEvent.class.php(88): waEvent->runPlugins(Array, Array)
#27 wa-system/waSystem.class.php(1519): waEvent->run(Array)
#28 wa-apps/shop/lib/config/shopConfig.class.php(128): waSystem->event('routing', Array)
#29 wa-system/routing/waRouting.class.php(294): shopConfig->getRouting(Array, true)
#30 wa-system/routing/waRouting.class.php(219): waRouting->getAppRoutes('shop', Array, true)
#31 wa-system/waSystem.class.php(707): waRouting->dispatch()
#32 wa-system/waSystem.class.php(540): waSystem->dispatchFrontend('en/category/rab...')
#33 index.php(10): waSystem->dispatch()
#34 {main}

Опубликовано: 12 мая 2019

1 ответ


Добавить ответ

Чтобы добавить комментарий, зарегистрируйтесь или войдите