Aggregator2.module v1.35, PHP 5.1.4, MySQL 4.1.18

I keep getting this msg in my Drupal 4.7.2 logs:

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 (n.created <= ) AND (n.status = 1) AND n.type IN ('aggregator2_feed','aggr' at line 1 query: SELECT n.nid FROM node n WHERE (n.created >= ) and (n.created <= ) AND (n.status = 1) AND n.type IN ('aggregator2_feed','aggregator2_item','forum','story') ORDER BY n.created ASC LIMIT 0, 10 in /includes/database.mysql.inc on line 120.