<?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>Fatal error: Call to a member function on a non-object in /usr/share/horde3/kronolith/lib/api.php on line 720</title> 
  <pubDate>Fri, 10 Apr 2026 04:38:47 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6258</link> 
  <atom:link rel="self" type="application/rss+xml" title="Fatal error: Call to a member function on a non-object in /usr/share/horde3/kronolith/lib/api.php on line 720" href="https://bugs.horde.org/ticket/6258/rss" /> 
  <description>Fatal error: Call to a member function on a non-object in /usr/share/horde3/kronolith/lib/api.php on line 720</description> 
 
   
   
  <item> 
   <title>debian etch  2.6.18-4-amd64, horde 3.1.3-4etch, imp4 4.1.3-4</title> 
   <description>debian etch  2.6.18-4-amd64, horde 3.1.3-4etch, imp4 4.1.3-4,  kolabd 1.9.4-20060

get this error when trying to update the respondent status after an invitation has been accepted (via imp webmail)



/usr/share/horde3/kronolith/lib/api.php



    /* First try the user&#039;s own calendars. */

    $ownerCalendars = Kronolith::listCalendars(true, PERMS_EDIT);

    $event = null;

    foreach ($events as $ev) {

 (line 720)      if (isset($ownerCalendars[$ev-&gt;getCalendar()])) {

            $event = $ev;

            break;

        }

    }



Thanks! 



Elena</description> 
   <pubDate>Thu, 14 Feb 2008 11:21:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42332</link> 
  </item> 
   
  <item> 
   <title>What is $events? Unless your version isn&#039;t actually 2.1.4, t</title> 
   <description>What is $events? Unless your version isn&#039;t actually 2.1.4, there should be a check to see if $events is an error (right after $events is assigned a few lines above). If it&#039;s there, then you have an array of something else, and we&#039;d need to know what it is to see where it&#039;s coming from.</description> 
   <pubDate>Thu, 14 Feb 2008 21:12:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42353</link> 
  </item> 
   
  <item> 
   <title>hi chuck, 



exactly, 

    $events = $kronolith-&gt;getByUID(</title> 
   <description>hi chuck, 



exactly, 

    $events = $kronolith-&gt;getByUID($uid, true);

    if (is_a($events, &#039;PEAR_Error&#039;)) {

        return $events;

    }



however i can&#039;t see any errors in the logs 

in attachent the whole api.php file



</description> 
   <pubDate>Fri, 15 Feb 2008 10:09:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42389</link> 
  </item> 
   
  <item> 
   <title>Can you please put var_dump($events) somewhere above the fat</title> 
   <description>Can you please put var_dump($events) somewhere above the fatal error, and report what $events actually is?</description> 
   <pubDate>Fri, 15 Feb 2008 18:16:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42411</link> 
  </item> 
   
  <item> 
   <title>hi chuck, 



here&#039;s the output: 



object(kronolith_event_</title> 
   <description>hi chuck, 



here&#039;s the output: 



object(kronolith_event_kolab)(23) { [&quot;initialized&quot;]=&gt;  bool(true) [&quot;stored&quot;]=&gt;  bool(true) [&quot;eventID&quot;]=&gt;  string(32) &quot;652942e925a19d2139b77dc509d3fec2&quot; [&quot;_uid&quot;]=&gt;  string(32) &quot;652942e925a19d2139b77dc509d3fec2&quot; [&quot;creatorID&quot;]=&gt;  string(37) &quot;calamity.coyote@mydomain.org&quot; [&quot;title&quot;]=&gt;  string(16) &quot;invitation dizzy&quot; [&quot;category&quot;]=&gt;  string(0) &quot;&quot; [&quot;location&quot;]=&gt;  string(0) &quot;&quot; [&quot;status&quot;]=&gt;  int(2) [&quot;description&quot;]=&gt;  string(0) &quot;&quot; [&quot;attendees&quot;]=&gt;  array(1) { [&quot;dizzy.devil@mydomain.org&quot;]=&gt;  array(2) { [&quot;attendance&quot;]=&gt;  int(1) [&quot;response&quot;]=&gt;  int(1) } } [&quot;keywords&quot;]=&gt;  array(0) { } [&quot;exceptions&quot;]=&gt;  array(0) { } [&quot;start&quot;]=&gt;  &amp;object(horde_date)(6) { [&quot;year&quot;]=&gt;  int(2008) [&quot;month&quot;]=&gt;  int(2) [&quot;mday&quot;]=&gt;  int(15) [&quot;hour&quot;]=&gt;  int(0) [&quot;min&quot;]=&gt;  int(0) [&quot;sec&quot;]=&gt;  int(0) } [&quot;end&quot;]=&gt;  &amp;object(horde_date)(6) { [&quot;year&quot;]=&gt;  int(2008) [&quot;month&quot;]=&gt;  int(2) [&quot;mday&quot;]=&gt;  int(16) [&quot;hour&quot;]=&gt;  int(0) [&quot;min&quot;]=&gt;  int(0) [&quot;sec&quot;]=&gt;  int(0) } [&quot;recurEnd&quot;]=&gt;  NULL [&quot;durMin&quot;]=&gt;  int(1440) [&quot;alarm&quot;]=&gt;  string(1) &quot;0&quot; [&quot;recurType&quot;]=&gt;  int(0) [&quot;recurInterval&quot;]=&gt;  NULL [&quot;recurData&quot;]=&gt;  NULL [&quot;_calendar&quot;]=&gt;  string(37) &quot;calamity.coyote@mydomain.org&quot; [&quot;_varRenderer&quot;]=&gt;  NULL } 



thx</description> 
   <pubDate>Mon, 18 Feb 2008 14:44:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42519</link> 
  </item> 
   
  <item> 
   <title>Looks like Kolab is returning a single event instead of an a</title> 
   <description>Looks like Kolab is returning a single event instead of an array in some cases, despite $getAll being true.</description> 
   <pubDate>Mon, 18 Feb 2008 19:20:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t42534</link> 
  </item> 
   
  <item> 
   <title>&gt; Looks like Kolab is returning a single event instead of an</title> 
   <description>&gt; Looks like Kolab is returning a single event instead of an array in 

&gt; some cases, despite $getAll being true.



Hm, the $getAll part looks okay to me:



            if ($getAll) {

                $events = array();

                $events[] = &amp;$event;

                return $events;

            } else {

                return $event;

            }



Does the problem persist if you use the kolab.php driver in CVS HEAD?</description> 
   <pubDate>Wed, 12 Mar 2008 07:17:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t43732</link> 
  </item> 
   
  <item> 
   <title>Hi,

I can&#039;t test that for the moment as i don&#039;t have access</title> 
   <description>Hi,

I can&#039;t test that for the moment as i don&#039;t have access to the server.

I&#039;ll post the results as soon as i can get access (probably in 1-2 weeks)



best regards,

eleni</description> 
   <pubDate>Wed, 26 Mar 2008 10:42:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6258#t44196</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
