Ticket #23 (closed bug: fixed)
PHP errors
| Reported by: | Tuinslak | Owned by: | pietercolpaert |
|---|---|---|---|
| Priority: | major | Milestone: | Mobile Site 1.5 |
| Component: | API | Keywords: | |
| Cc: | Tuinslak |
Description
Getting this error on certain stations:
Warning: Invalid argument supplied for foreach() in /var/www/iRail/api/InputHandlers/BRailConnectionInput.php on line 95
Fatal error: Call to a member function getDepart() on a non-object in /var/www/iRail/api/OutputHandlers/MobileWebOutput.php on line 25
for example:
- from VICHTE
- to ANTWERPEN BERCHEM
Attachments
Change History
comment:2 Changed 3 years ago by Tuinslak
#21 (by Christophe):
On this request:
I get the error code:
Warning: Invalid argument supplied for foreach() in /home/yeri/irail/api/InputHandlers/BRailConnectionInput.php on line 95 <connections version="1.0" timestamp="1285771329"/> Fatal error</b>: Call to a member function getDepart() on a non-object in /home/yeri/irail/api/connections.php on line 89
This work nice now, but you have all infos on the bug.
EDIT: crash again now.
On irail.be give this message:
Warning: Invalid argument supplied for foreach() in /home/yeri/irail/api/InputHandlers/BRailConnectionInput.php on line 95
Fatal error: Call to a member function getDepart() on a non-object in /home/yeri/irail/api/OutputHandlers/MobileWebOutput.php on line 25
comment:3 Changed 3 years ago by pietercolpaert
- Status changed from new to closed
- Resolution set to invalid
Could not reproduce. Fixed by other commits?
comment:4 Changed 3 years ago by Tuinslak
- Status changed from closed to reopened
- Resolution invalid deleted
Not fixed, can reproduce.
see screenshots
comment:5 Changed 3 years ago by pietercolpaert
- Status changed from reopened to closed
- Resolution set to fixed
Changed to error message. HAFAS returns error.


Only gives an error on 2/10/2010 - today this works fine.