jos-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 content.created DESC LIMIT 0' at line 12 SQL=SELECT content.id AS iid FROM #__content AS content WHERE content.state = 1 AND content.access IN (1,1) AND ( content.publish_up = '0000-00-00 00:00:00' OR content.publish_up <= '2017-12-15 12:06:58' ) AND ( content.publish_down = '0000-00-00 00:00:00' OR content.publish_down >= '2017-12-15 12:06:58' ) AND ( ) ORDER BY content.created DESC LIMIT 0,1;