I've been slaving away on a new version of my site, after Porta seemed to kill it before, Only for this to happen.
I've just got this come up.....
Just added the twitter column and now have this. Tried to remove it, no joy.
An exception occurred: Mysqli prepare 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 ') OR EWRporta_promotes.promote_date < ?) AND xf_thread.discussion_state = 'v' at line 10 in /home/minicham/public_html/library/Zend/Db/Statement/Mysqli.php on line 77
- Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
- Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
- Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
- Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
- Zend_Db_Adapter_Abstract->fetchAll() in EWRporta/Block/RecentNews.php at line 24
- EWRporta_Block_RecentNews->getModule() in EWRporta/Model/Blocks.php at line 112
- EWRporta_Model_Blocks->getBlockParams() in EWRporta/ViewPublic/Custom.php at line 67
- EWRporta_ViewPublic_Custom->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 215
- XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
- XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 533
- XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
- XenForo_FrontController->run() in /home/minicham/public_html/index.php at line 13
UPDATE 1.
Removing the Recent News + Recent Slider gets the page to load again. However, when I try to rebuild cache's under tools, I get this.
PLEASE Tell me Porta hasn't killed my database again?!?
Server Error
in_array() [function.in-array]: Wrong datatype for second argument
- XenForo_Application::handlePhpError() in EWRporta/DataWriter/Discussion/Thread.php at line 35
- EWRporta_DataWriter_Discussion_Thread->cachePromotions() in EWRporta/DataWriter/Discussion/Thread.php at line 15
- EWRporta_DataWriter_Discussion_Thread->_discussionPostSave() in XenForo/DataWriter/Discussion.php at line 383
- XenForo_DataWriter_Discussion->_postSave() in XenForo/DataWriter.php at line 1385
- XenForo_DataWriter->save() in XenForo/CacheRebuilder/Thread.php at line 73
- XenForo_CacheRebuilder_Thread->rebuild() in XenForo/ControllerHelper/CacheRebuild.php at line 26
- XenForo_ControllerHelper_CacheRebuild->rebuildCache() in XenForo/ControllerAdmin/Tools.php at line 78
- XenForo_ControllerAdmin_Tools->actionCacheRebuild() in XenForo/FrontController.php at line 310
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
- XenForo_FrontController->run() in /home/minicham/public_html/admin.php at line 13