Fatal error: Uncaught exception 'Doctrine_Connection_Mysql_Exception' with message '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 '-5' at line 1. Failing Query: "SELECT m.id AS m__id, m.blok_naam AS m__blok_naam, m.pagina_id AS m__pagina_id, m.volgnummer AS m__volgnummer, m.paginacontent_id AS m__paginacontent_id, m.visible AS m__visible FROM mp_opbouwregel m WHERE (m.pagina_id = '100' AND m.paginacontent_id = '2' AND m.visible = '1' AND m.blok_naam = 'blogitem') ORDER BY m.id DESC LIMIT 5 OFFSET -5"' in /home/vwb2technieken/public_html/system/3.0.2/system/application/plugins/Doctrine.compiled.php:1
Stack trace:
#0 /home/vwb2technieken/public_html/system/3.0.2/system/application/plugins/Doctrine.compiled.php(1): Doctrine_Connection->rethrowException(Object(PDOException), Object(Doctrine_Connection_Mysql), 'SELECT m.id AS ...')
#1 /home/vwb2technieken/public_html/system/3.0.2/syste in /home/vwb2technieken/public_html/system/3.0.2/system/application/plugins/Doctrine.compiled.php on line 1