Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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.
Comments
Comment #1
thumb commentedThis 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.
Comment #2
drewish commentedthumb is right it's non-critical but it's a bug. committing the attached patch to DRUPAL-5.
Comment #3
drewish commentedComment #4
shawnc commentedThank you, thumb and drewish.
You were correct, it was just a display issue for me.
Comment #5
(not verified) commented