I'm not sure how to fix this:

http://wvfs.shawnc.net/?q=station/schedule

CommentFileSizeAuthor
#2 station_164662.patch490 bytesdrewish

Comments

thumb’s picture

This is a non-critical PHP warning and isn't causing problems other than the error display. If this is a production web site, disable the display of errors in your Drupal install at Administer->Site Administration->Error Reporting (change Error Reporting to 'write errors to log'

The station source code should be updated to add an is_array() check before the foreach loop.

warning: Invalid argument supplied for foreach() in /home/content/s/p/c/spc000/html/wvfs/modules/station/schedule/station_schedule.module on line 975.

drewish’s picture

Priority: Normal » Minor
StatusFileSize
new490 bytes

thumb is right it's non-critical but it's a bug. committing the attached patch to DRUPAL-5.

drewish’s picture

Status: Active » Fixed
shawnc’s picture

Thank you, thumb and drewish.

You were correct, it was just a display issue for me.

Anonymous’s picture

Status: Fixed » Closed (fixed)