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 |
Taken from stuart
State ⇒ Feedback
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.
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.
Queue ⇒ Kolab
create some manually?
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.
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
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...
State ⇒ Assigned
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Queue ⇒ Horde Framework Packages
Summary ⇒ Call to a member function on a non-object
Type ⇒ Bug
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.