Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Errors after upgrading from the previous -dev to the last -dev (2011-jul-31)
warning: array_fill(): Number of elements must be positive in /home/myuser/www/mysite/includes/database.inc on line 252.
warning: implode(): Invalid arguments passed in /home/myuser/www/mysite/includes/database.inc on line 252.
user warning: 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 ') GROUP BY t1.uid, t1.uaid HAVING COUNT(t2.uid) <= 10 ORDER BY t1.ui' at line 11 query: SELECT t1.uid, t1.uaid as 'uaid', COUNT(*) as 'rows_per_user', t1.timestamp as 'real_date', MIN(t2.timestamp) as 'oldest_date', count(t2.uid) AS 'count' FROM heartbeat_activity AS t1 INNER JOIN heartbeat_activity AS t2 ON t1.uid = t2.uid AND t2.timestamp >= t1.timestamp WHERE (t1.timestamp, t1.uaid) < (t2.timestamp, t2.uaid) AND t1.message_id NOT IN () GROUP BY t1.uid, t1.uaid HAVING COUNT(t2.uid) <= 10 ORDER BY t1.uid, t1.uaid, t1.timestamp DESC in /home/myuser/www/mysite/sites/all/modules/heartbeat/heartbeat.module on line 482.
Comments
Comment #1
jitse CreditAttribution: jitse commentedI am having the same. Probably some invalid data or settings. Am using OG too. Will investigate soon.
Comment #2
Crom CreditAttribution: Crom commentedI'm also having this problem and using OG. In case it helps, I patched heartbeat using this patch:
http://drupal.org/node/1034278#comment-4818082
Comment #3
Owen Barton CreditAttribution: Owen Barton commentedDuplicate of #1865994: Error on Cron: You have an error in your SQL syntax