Anyone know how to fix this? It only happens when I use the recent attachments and recent news. Also now the recent features isnt working. Everything was working great and now this?
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 ') ORDER BY xf_attachment.attach_date DESC LIMIT ?, ?' at line 8 in C:\xampp\htdocs\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/RecentAttachments.php at line 36
- EWRporta_Block_RecentAttachments->getAttachments() in EWRporta/Block/RecentAttachments.php at line 11
- EWRporta_Block_RecentAttachments->getModule() in EWRporta/Model/Blocks.php at line 116
- EWRporta_Model_Blocks->getBlockParams() in EWRporta/ViewPublic/Custom.php at line 71
- EWRporta_ViewPublic_Custom->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 227
- XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
- XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 582
- XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
- XenForo_FrontController->run() in C:/xampp/htdocs/index.php at line 13