Hello,
Please, help-me. Error 500
Message:
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 `questionId` = '1' LIMIT 0, 1' at line 1
Line: 723
File:
/home/zonavir1/public_html/ow_core/database.php
Trace:
#0
/home/zonavir1/public_html/ow_core/database.php(723): PDOStatement->execute()
#1
/home/zonavir1/public_html/ow_core/database.php(308): OW_Database->execute('SELECT * FROM o...', Array)
#2
/home/zonavir1/public_html/ow_core/base_dao.php(114): OW_Database->queryForObject('SELECT * FROM o...', 'QUESTIONS_BOL_F...', Array, 0, Array)
#3 /home/zonavir1/public_html/ow_plugins/questions/bol/follow_dao.php(100): OW_BaseDao->findObjectByExample(Object(OW_Example))
#4
/home/zonavir1/public_html/ow_plugins/questions/bol/service.php(519): QUESTIONS_BOL_FollowDao->findFollow(NULL, '1')
#5
/home/zonavir1/public_html/ow_plugins/questions/components/feed_item.php(178): QUESTIONS_BOL_Service->isFollow(NULL, '1')
#6
/home/zonavir1/public_html/ow_core/view.php(165): QUESTIONS_CMP_FeedItem->onBeforeRender()
#7
/home/zonavir1/public_html/ow_core/component.php(80): OW_View->render()
#8 /home/zonavir1/public_html/ow_plugins/questions/components/feed_list.php(73): OW_Component->render()
#9
/home/zonavir1/public_html/ow_core/view.php(165): QUESTIONS_CMP_FeedList->onBeforeRender()
#10
/home/zonavir1/public_html/ow_core/component.php(80): OW_View->render()
#11 /home/zonavir1/public_html/ow_plugins/questions/components/feed.php(131): OW_Component->render()
#12 /home/zonavir1/public_html/ow_plugins/questions/components/feed.php(138): QUESTIONS_CMP_Feed->renderList()
#13
/home/zonavir1/public_html/ow_core/view.php(165): QUESTIONS_CMP_Feed->onBeforeRender()
#14
/home/zonavir1/public_html/ow_core/component.php(80): OW_View->render()
#15
/home/zonavir1/public_html/ow_core/renderable.php(124): OW_Component->render()
#16
/home/zonavir1/public_html/ow_core/view.php(183): OW_Renderable->onRender()
#17
/home/zonavir1/public_html/ow_core/component.php(80): OW_View->render() #18 /home/zonavir1/public_html/ow_core/renderable.php(124): OW_Component->render() #19 /home/zonavir1/public_html/ow_core/view.php(183): OW_Renderable->onRender() #20 /home/zonavir1/public_html/ow_core/component.php(80): OW_View->render() #21 /home/zonavir1/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(332): OW_Component->render() #22 /home/zonavir1/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(317): BASE_CMP_DragAndDropItem->render() #23 /home/zonavir1/public_html/ow_system_plugins/base/components/drag_and_drop_frontend_panel.php(110): BASE_CMP_DragAndDropItem->renderView() #24 /home/zonavir1/public_html/ow_smarty/template_c/ff22da4f3957215e52d771bb5781d69e6fc416fb_0.file.drag_and_drop_index.html.php(120): BASE_CMP_DragAndDropFrontendPanel->tplComponent(Array, Object(Smarty_Internal_Template)) #25 /home/zonavir1/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_6109c45f8320a4_23884809(Object(Smarty_Internal_Template)) #26 /home/zonavir1/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #27 /home/zonavir1/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #28 /home/zonavir1/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #29 /home/zonavir1/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute('/home/zonavir1/...', NULL, NULL, NULL, 0) #30 /home/zonavir1/public_html/ow_core/view_renderer.php(80): Smarty_Internal_TemplateBase->fetch('/home/zonavir1/...') #31 /home/zonavir1/public_html/ow_core/view.php(187): OW_ViewRenderer->renderTemplate('/home/zonavir1/...') #32 /home/zonavir1/public_html/ow_core/component.php(80): OW_View->render() #33 /home/zonavir1/public_html/ow_core/renderable.php(124): OW_Component->render() #34 /home/zonavir1/public_html/ow_core/view.php(183): OW_Renderable->onRender() #35 /home/zonavir1/public_html/ow_system_plugins/base/controllers/component_panel.php(56): OW_View->render() #36 /home/zonavir1/public_html/ow_core/request_handler.php(258): BASE_CTRL_ComponentPanel->render() #37 /home/zonavir1/public_html/ow_core/request_handler.php(226): OW_RequestHandler->processControllerAction(Object(ReflectionMethod), Object(BASE_CTRL_ComponentPanel)) #38 /home/zonavir1/public_html/ow_core/application.php(346): OW_RequestHandler->dispatch() #39 /home/zonavir1/public_html/index.php(76): OW_Application->handleRequest() #40 {main}