DatabaseRead execute error: 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 '-11 , 11' at line 36
waterwaysworld\sites\iwin\PubArticlesReadSELECT pubart.id, pubart.id_issue, pubart.title, pubart.subtitle, pubart.pageno_start, pubart.pageno_end, pubart.summary, pubart.featured_image, pubart.content, pubart.id_site, pubart.id_feature, pubart.active_flag, pubart.converted, pubart.display, pubart.display_order, pubart.id_fleet, pubart.rotation, pubart.featured, pubart.checked, pubart.comment, pubart.uuid, pubart.status, pubart.date_creation, pubart.date_modify, pubart.date_published, pubart.visibility, pubart.source, pubart.destination, pubart.pdf, pubart.content_sup_1, pubart.content_sup_1 /*MATCHES*/ FROM bo_ws_pubarticle AS pubart WHERE pubart.source = :source AND pubart.status = :status AND pubart.destination like '%iwin%' AND pubart.date_published < :date_published0 AND pubart.date_published > :date_published1 ORDER BY featured desc,date_published desc LIMIT -11 , 11