There has been an error processing your request

SQLSTATE[42000]: Syntax error or access violation: 1139 Got error 'unmatched parentheses at offset 16' from regexp, query was: SELECT `catalogsearch_query`.* FROM `catalogsearch_query` WHERE (query_text REGEXP '[[:<:]]-1\'OR 1=1) AND 1=(SELECT IF((IFNULL(ASCII(SUBSTRING((SELECT @@VERSION),1,1)),0)>25),1,2))--[[:>:]]') AND (query_text!='-1\'OR 1=1) AND 1=(SELECT IF((IFNULL(ASCII(SUBSTRING((SELECT @@VERSION),1,1)),0)>25),1,2))--') AND (store_id='2') ORDER BY `query_text` ASC LIMIT 3
Trace: #0 /home/shoptosh/domains/shoptoshape.com/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute() #1 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute() #2 /home/shoptosh/domains/shoptoshape.com/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute() #3 /home/shoptosh/domains/shoptoshape.com/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #4 /home/shoptosh/domains/shoptoshape.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query() #5 /home/shoptosh/domains/shoptoshape.com/public_html/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query() #6 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/community/MageWorx/SearchSuite/Model/Resource/CatalogSearch/Query.php(71): Zend_Db_Adapter_Abstract->fetchAll() #7 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/community/MageWorx/SearchSuite/Block/Related.php(15): MageWorx_SearchSuite_Model_Resource_CatalogSearch_Query->getRelatedQueries() #8 /home/shoptosh/domains/shoptoshape.com/public_html/app/design/frontend/rwd/default/template/mageworx/searchsuite/related.phtml(10): MageWorx_SearchSuite_Block_Related->getRelatedSearches() #9 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/shoptosh/...') #10 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView() #11 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #12 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #13 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #14 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml() #15 /home/shoptosh/domains/shoptoshape.com/public_html/app/design/frontend/rwd/default/template/mageworx/searchsuite/container1.phtml(13): Mage_Core_Block_Abstract->getChildHtml() #16 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/shoptosh/...') #17 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView() #18 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #19 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #20 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #21 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml() #22 /home/shoptosh/domains/shoptoshape.com/public_html/app/design/frontend/rwd/default/template/mageworx/searchsuite/result.phtml(37): Mage_Core_Block_Abstract->getChildHtml() #23 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/shoptosh/...') #24 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView() #25 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #26 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #27 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #28 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Text_List->_toHtml() #29 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(641): Mage_Core_Block_Abstract->toHtml() #30 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(585): Mage_Core_Block_Abstract->_getChildHtml() #31 /home/shoptosh/domains/shoptoshape.com/public_html/app/design/frontend/rwd/default/template/page/3columns.phtml(60): Mage_Core_Block_Abstract->getChildHtml() #32 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/shoptosh/...') #33 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView() #34 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() #35 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Block/Abstract.php(923): Mage_Core_Block_Template->_toHtml() #36 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() #37 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #38 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/CatalogSearch/controllers/ResultController.php(80): Mage_Core_Controller_Varien_Action->renderLayout() #39 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/community/MageWorx/SearchSuite/controllers/ResultController.php(26): Mage_CatalogSearch_ResultController->indexAction() #40 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): MageWorx_SearchSuite_ResultController->indexAction() #41 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch() #42 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match() #43 /home/shoptosh/domains/shoptoshape.com/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #44 /home/shoptosh/domains/shoptoshape.com/public_html/app/Mage.php(686): Mage_Core_Model_App->run() #45 /home/shoptosh/domains/shoptoshape.com/public_html/index.php(91): Mage::run() #46 {main}

Error log record number: 178010819160