6.0.0-beta1
7/6/25

[#10109] Adding Metar block yields fatal error
Summary Adding Metar block yields fatal error
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester eru (at) php (dot) net
Created 05/20/2011 (5161 days ago)
Due
Updated 05/20/2011 (5161 days ago)
Assigned
Resolved 05/20/2011 (5161 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/20/2011 10:51:25 AM Jan Schneider Assigned to Michael Rubinsky
State ⇒ Resolved
 
05/20/2011 10:06:08 AM eru (at) php (dot) net Comment #2 Reply to this comment
Hmpf... I can just see in the GIT, that the error was fixed yesterday...

Thanks...
05/20/2011 10:02:12 AM eru (at) php (dot) net Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Adding Metar block yields fatal error
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Dear Horde-Team,

apparently the $db variable is not created properly in the Metar 
block, as the following error is being thrown:

[Fri May 20 11:41:51 2011] [error] [client XXX.XXX.XXX.XXX] PHP Fatal 
error:  Call to a member function query() on a non-object in 
/var/www/XXX/htdocs/lib/Block/Metar.php on line 38, referer: 
https://XXX.XXX.XXX/services/portal/edit.php

In this line the block tries to query for the existing airports in the 
database. The table in question is present and populated.

Best regards,
Alexander

Saved Queries