I’m using EE 2.4.0, Structure3.1.3 and the most up-to-date version of freebie.
On some pages I’m getting thrown this error. Anyone know what it means and how it might be able to be fixed? Or should I just report this as a bug in the bug tracker?
Error Number: 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 ‘AND t.entry_date <= AND t.status = ‘open’ ORDER BY t.entry_date desc, t.entry_i’ at line 2
SELECT t.entry_id FROM exp_channel_titles AS t LEFT JOIN exp_channels ON t.channel_id = exp_channels.channel_id LEFT JOIN exp_members AS m ON m.member_id = t.author_id WHERE t.entry_id !=’’ AND t.site_id IN (‘1’) AND t.entry_date < 1329945459 AND (t.expiration_date = 0 OR t.expiration_date > 1329945459) AND (t.channel_id = ‘2’ OR t.channel_id = ‘9’ OR t.channel_id = ‘10’ OR t.channel_id = ‘11’ OR t.channel_id = ‘12’ ) AND t.entry_date >= AND t.entry_date <= AND t.status = ‘open’ ORDER BY t.entry_date desc, t.entry_id desc LIMIT 0, 50
Filename: modules/channel/mod.channel.php
Line Number: 2686