6.0.0-alpha14
6/25/25

[#1617] Call to a member function on a non-object
Summary Call to a member function on a non-object
Queue Kolab
Type Bug
State No Feedback
Priority 2. Medium
Owners wrobel (at) horde (dot) org
Requester cajus (at) naasa (dot) net
Created 03/24/2005 (7398 days ago)
Due
Updated 04/24/2007 (6637 days ago)
Assigned 04/18/2007 (6643 days ago)
Resolved 04/24/2007 (6637 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/24/2007 11:46:48 AM Gunnar Wrobel State ⇒ No Feedback
 
04/18/2007 03:46:05 PM Gunnar Wrobel Assigned to Gunnar Wrobel
Taken from stuart
State ⇒ Feedback
 
04/10/2007 07:12:16 AM wrobel (at) pardus (dot) de Comment #8 Reply to this comment
@psnyder: Does the problem persist with the newest code in Horde CVS 
HEAD? The corresponding sections have seen a lot of changes and the 
error you describe should not occur anymore.



The original bug report also does not correspond to the current code anymore.
01/04/2007 04:08:29 PM psnyder (at) postbulletin (dot) com Comment #7 Reply to this comment
When trying to add a new event, contact, note, anything that appears 
to be folder related:



Fatal error: Call to a member function on a non-object in 
/usr/share/php/Horde/Kolab.php on line 593



The code tries to access $this->_xml which is expected to be 
initialized on line 476.  Line 476 was never accessed because the 
function &loadObject($uid, $is_msgno = false) returns false after 
finding that $this->_imap is uninitialized on line 438.



$this->_imap was expected to be initialized on line 261 in the 
open($share_uid) function.  Line 261 was not accessed because the 
open($share_uid) function returns false on line 241 after determining 
that the session variable $_SESSION['kolab_share_map"] is not 
initialized.



At this point the trail goes cold for me.  I have failed to find the 
source of initialization of this session variable which the whole 
functioning appears to  depend on.



I should note that this issue from Kolab applies to me: 
https://intevation.de/roundup/kolab/issue1126



Also, I have the persistent problem of  'Horde/Kolab: Unable to 
synchronise address book "Paul Snyder's Address Book": NO, Permission 
denied' being pushed onto the message stack many times.



I bring these up in case they may be relevant to the issue.



I will gladly work with someone on resolving this.


02/07/2006 11:55:34 AM Jan Schneider Version ⇒
Queue ⇒ Kolab
 
03/30/2005 04:14:50 PM cajus (at) naasa (dot) net Comment #6 Reply to this comment
Besides the "Notes" folder, there's no folder in my mailbox. Should I 
create some manually?
03/30/2005 03:50:37 PM stuart Comment #5 Reply to this comment
Well, creating tasks as you describe works just fine for me. However, 
I'm using English for the Horde locale. I suspect the problem is that 
you're using a non-English locale - can you perhaps tell me what the 
name of your default Calendar folder within IMAP is? I will also try 
to reproduce this using non-English locales and see what I can find.
03/30/2005 02:15:38 PM cajus (at) naasa (dot) net Comment #4 Reply to this comment
This is the problem I have here. I am able to do PHP debugging, but I'm not

familiar with the Horde stuff. I can't add debug output, whatever.



It is really easy to reproduce:



Log into the horde framework, go to "Organisierung" (sorry, but the tree menu

on the left stays in german when I log in with the language set to english)

and then to "Tasks". Select "New Task", change the "Name" and "Description"

fields. Press "Save". Only the menu on the left stays, everything else is

blank in the browser window. Now you can see the message in the logs which

lead to the bug report.



Any configs needed?



Greetings,

Cajus
03/30/2005 01:56:15 PM stuart Comment #3 Reply to this comment
Are you certain this isn't a problem with your Horde/Kolab 
configuration? Unfortunately this information that you provided is 
insufficient to determine the cause of the problem - I'll need to know 
what the sequence of events leading up to the crash is, as well as the 
exact point of the crash, in order to try and help you. Many others 
have been using the Horde/Kolab integration for quite some time now 
without this problem, so it's a difficult one to try resolve...
03/24/2005 08:51:19 AM Jan Schneider Assigned to stuart
State ⇒ Assigned
 
03/24/2005 07:18:25 AM cajus (at) naasa (dot) net Comment #2 Reply to this comment
Forgot to mention that I'm using CVS HEAD, currently.
03/24/2005 07:17:48 AM cajus (at) naasa (dot) net Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ Horde Framework Packages
Summary ⇒ Call to a member function on a non-object
Type ⇒ Bug
Reply to this comment
This is Kolab related: when trying to add calendar entries in 
kornolith or adding tasks in nag I'm getting the following error which 
I can't debug myself. I'm not sure if this is a configuration problem, 
or just a bug:



[Thu Mar 24 08:09:19 2005] [error] PHP Fatal error:  Call to a member 
function on a non-object in /kolab/lib/php/Horde/Kolab.php on line 552



Seems like $this->_xml->document_element() produces the error, because 
this call is on line 551-553:



function &getCurrentObject()

{

     return $this->_xml->document_element();

}



If I can provide more usefull informations, please let me know.

Saved Queries