Summary | Fatal error: Call to a member function on a non-object in /usr/share/horde3/kronolith/lib/api.php on line 720 |
Queue | Kolab |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | wrobel (at) horde (dot) org |
Requester | dizzy_devil_be (at) yahoo (dot) fr |
Created | 02/14/2008 (6332 days ago) |
Due | |
Updated | 03/26/2008 (6291 days ago) |
Assigned | 03/12/2008 (6305 days ago) |
Resolved | 03/26/2008 (6291 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
I can't test that for the moment as i don't have access to the server.
I'll post the results as soon as i can get access (probably in 1-2 weeks)
best regards,
eleni
some cases, despite $getAll being true.
if ($getAll) {
$events = array();
$events[] = &$event;
return $events;
} else {
return $event;
}
Does the problem persist if you use the kolab.php driver in CVS HEAD?
Version ⇒
Queue ⇒ Kolab
State ⇒ Assigned
some cases, despite $getAll being true.
here's the output:
object(kronolith_event_kolab)(23) { ["initialized"]=> bool(true)
["stored"]=> bool(true) ["eventID"]=> string(32)
"652942e925a19d2139b77dc509d3fec2" ["_uid"]=> string(32)
"652942e925a19d2139b77dc509d3fec2" ["creatorID"]=> string(37)
"calamity.coyote@mydomain.org" ["title"]=> string(16) "invitation
dizzy" ["category"]=> string(0) "" ["location"]=> string(0) ""
["status"]=> int(2) ["description"]=> string(0) "" ["attendees"]=>
array(1) { ["dizzy.devil@mydomain.org"]=> array(2) { ["attendance"]=>
int(1) ["response"]=> int(1) } } ["keywords"]=> array(0) { }
["exceptions"]=> array(0) { } ["start"]=> &object(horde_date)(6) {
["year"]=> int(2008) ["month"]=> int(2) ["mday"]=> int(15)
["hour"]=> int(0) ["min"]=> int(0) ["sec"]=> int(0) } ["end"]=>
&object(horde_date)(6) { ["year"]=> int(2008) ["month"]=> int(2)
["mday"]=> int(16) ["hour"]=> int(0) ["min"]=> int(0) ["sec"]=>
int(0) } ["recurEnd"]=> NULL ["durMin"]=> int(1440) ["alarm"]=>
string(1) "0" ["recurType"]=> int(0) ["recurInterval"]=> NULL
["recurData"]=> NULL ["_calendar"]=> string(37)
"calamity.coyote@mydomain.org" ["_varRenderer"]=> NULL }
thx
and report what $events actually is?
New Attachment: api.php
exactly,
$events = $kronolith->getByUID($uid, true);
if (is_a($events, 'PEAR_Error')) {
return $events;
}
however i can't see any errors in the logs
in attachent the whole api.php file
State ⇒ Feedback
should be a check to see if $events is an error (right after $events
is assigned a few lines above). If it's there, then you have an array
of something else, and we'd need to know what it is to see where it's
coming from.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Kronolith
Summary ⇒ Fatal error: Call to a member function on a non-object in /usr/share/horde3/kronolith/lib/api.php on line 720
Type ⇒ Bug
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's own calendars. */
$ownerCalendars = Kronolith::listCalendars(true, PERMS_EDIT);
$event = null;
foreach ($events as $ev) {
(line 720) if (isset($ownerCalendars[$ev->getCalendar()])) {
$event = $ev;
break;
}
}
Thanks!
Elena