[Tickets #10109] Adding Metar block yields fatal error

bugs at horde.org bugs at horde.org
Fri May 20 10:02:12 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10109
------------------------------------------------------------------------------
  Ticket             | 10109
  Created By         | eru at php.net
  Summary            | Adding Metar block yields fatal error
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


eru at php.net (2011-05-20 10:02) wrote:

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






More information about the bugs mailing list