<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Adding Metar block yields fatal error</title> 
  <pubDate>Fri, 10 Apr 2026 13:09:19 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10109</link> 
  <atom:link rel="self" type="application/rss+xml" title="Adding Metar block yields fatal error" href="https://bugs.horde.org/ticket/10109/rss" /> 
  <description>Adding Metar block yields fatal error</description> 
 
   
   
  <item> 
   <title>Dear Horde-Team,

apparently the $db variable is not creat</title> 
   <description>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</description> 
   <pubDate>Fri, 20 May 2011 10:02:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10109#t64898</link> 
  </item> 
   
  <item> 
   <title>Hmpf... I can just see in the GIT, that the error was fixed </title> 
   <description>Hmpf... I can just see in the GIT, that the error was fixed yesterday...

Thanks...</description> 
   <pubDate>Fri, 20 May 2011 10:06:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10109#t64899</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
