I have had this plugin on a test site and using it fine for a couple weeks now since I figured out how to get the embedded games to work, but last night when is set it up on my primary site it worked until I logged out and logged back in. It began to crash the site for anyone that logged in. This is the details it was giving me. I ended up just restoring a backup from prior to installing it on my primary and removing it from primary site.
Something went wrong!
To get the error details follow these steps:
- Open ow_includes/config.php file and set DEBUG_MODE to true
- Reproduce your last action.
Error details: Type:ExceptionMessage:SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''4'' at line 5File:/home/wtprevol/public_html/ow_core/database.phpLine:723Trace:#0 /home/wtprevol/public_html/ow_core/database.php(723): PDOStatement->execute() #1 /home/wtprevol/public_html/ow_core/database.php(344): OW_Database->execute('SELECT i.* FROM...', Array) #2 /home/wtprevol/public_html/ow_plugins/mochigames/bol/service.php(998): OW_Database->queryForObjectList('SELECT i.* FROM...', 'MOCHIGAMES_BOL_...', Array) #3 /home/wtprevol/public_html/ow_plugins/mochigames/components/recently_played_games.php(19): MOCHIGAMES_BOL_Service->findRecentlyPlayedList(1, 0, '4') #4 [internal function]: MOCHIGAMES_CMP_RecentlyPlayedGames->__construct(Object(BASE_CLASS_WidgetParameter)) #5 /home/wtprevol/public_html/ow_core/ow.php(483): ReflectionClass->newInstanceArgs(Array) #6 /home/wtprevol/public_html/ow_core/ow.php(447): OW::getClassInstanceArray('MOCHIGAMES_CMP_...', Array) #7 /home/wtprevol/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(306): OW::getClassInstance('MOCHIGAMES_CMP_...', Object(BASE_CLASS_WidgetParameter)) #8 /home/wtprevol/public_html/ow_system_plugins/base/components/drag_and_drop_frontend_panel.php(110): BASE_CMP_DragAndDropItem->renderView() #9 /home/wtprevol/public_html/ow_smarty/template_c/5dacadbb300f7417a832da654f99f805a8fc683a_0.file.drag_and_drop_entity_panel.html.php(143): BASE_CMP_DragAndDropFrontendPanel->tplComponent(Array, Object(Smarty_Internal_Template)) #10 /home/wtprevol/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(122): content_57161c6874c3b9_24367369(Object(Smarty_Internal_Template)) #11 /home/wtprevol/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(199): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #12 /home/wtprevol/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(159): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #13 /home/wtprevol/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(191): Smarty_Internal_Template->render(false, 0) #14 /home/wtprevol/public_html/ow_libraries/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(94): Smarty_Internal_TemplateBase->_execute('/home/wtprevol/...', NULL, NULL, NULL, 0) #15 /home/wtprevol/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/wtprevol/...') #16 /home/wtprevol/public_html/ow_core/renderable.php(271): OW_ViewRenderer->renderTemplate('/home/wtprevol/...') #17 /home/wtprevol/public_html/ow_core/component.php(80): OW_Renderable->render() #18 /home/wtprevol/public_html/ow_system_plugins/base/controllers/component_panel.php(156): OW_Component->render() #19 /home/wtprevol/public_html/ow_system_plugins/base/controllers/component_panel.php(182): BASE_CTRL_ComponentPanel->action('dashboard', 1, false, Array, 'drag_and_drop_e...') #20 [internal function]: BASE_CTRL_ComponentPanel->dashboard(Array) #21 /home/wtprevol/public_html/ow_core/request_handler.php(266): call_user_func_array(Array, Array) #22 /home/wtprevol/public_html/ow_core/application.php(364): OW_RequestHandler->dispatch() #23 /home/wtprevol/public_html/index.php(76): OW_Application->handleRequest() #24 {main}