Division by zero / Invalid argument supplied for foreach

abaddon - May 17, 2009 - 11:15
Project:Syndication
Version:6.x-1.4
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

installing this on a new site with no content produced the errors below (logged in the watchdog log, maybe when i was running cron, but no errors on the install screen)

Division by zero in ...../sites/all/modules/syndication/syndication.module on line 639.
Invalid argument supplied for foreach() in ...../sites/all/modules/syndication/syndication.module on line 640.

#1

aaron1234nz - May 19, 2009 - 01:09
Status:active» fixed

#2

johanvervoort - May 26, 2009 - 08:14
Status:fixed» active

Same problem here, don't have clue what to do...

#3

aaron1234nz - May 26, 2009 - 08:51

This is fixed in the latest -dev release so you may use that if you wish.

The quick fix is to simply add some content using taxonomy terms. This error should only occur when there is nothing to display.

#4

aaron1234nz - July 24, 2009 - 23:10

Should be fixed in 6-1.5

#5

aaron1234nz - July 24, 2009 - 23:10
Status:active» fixed

#6

System Message - August 7, 2009 - 23:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.