6.0.0-beta1
7/28/25

[#5706] Random PHP error retrieving blacklist
Summary Random PHP error retrieving blacklist
Queue Ingo
Queue Version 1.2-ALPHA
Type Bug
State No Feedback
Priority 2. Medium
Owners
Requester robin.west (at) dal (dot) ca
Created 09/07/2007 (6534 days ago)
Due
Updated 09/17/2007 (6524 days ago)
Assigned 09/08/2007 (6533 days ago)
Resolved 09/17/2007 (6524 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/17/2007 02:55:26 PM Jan Schneider State ⇒ No Feedback
 
09/10/2007 04:13:39 PM Jan Schneider Comment #4 Reply to this comment
Sorry, I can't see how the variable that triggers this error could 
*not* be an object, unless you have a corrupt cache.
09/10/2007 12:13:35 PM robin (dot) west (at) dal (dot) ca Comment #3 Reply to this comment
Both messages are coming from not being able to load the blacklist
from the backend. Which storage backend do you use, prefs or sql?
We're using the prefs backend.




09/08/2007 09:13:49 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Both messages are coming from not being able to load the blacklist 
from the backend. Which storage backend do you use, prefs or sql?
09/07/2007 04:24:36 PM robin (dot) west (at) dal (dot) ca Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Random PHP error retrieving blacklist
Queue ⇒ Ingo
State ⇒ Unconfirmed
Reply to this comment
I have been using ingo 1.2-alpha in a test environment (with IMP 
4.1.4, Horde 3.1.4) and every once in a while, when I refresh my 
inbox, I get a PHP error:



Fatal error: Call to a member function on a non-object in 
/appl/webmail/horde/ingo/lib/Script/imap.php on line 151



As soon as I get this error I am unable to access the inbox page until 
I log out and log in again. Also when this happens, I am unable to 
access the blacklist page - I get a similar PHP error:



Fatal error: Call to a member function on a non-object in 
/appl/webmail/horde/ingo/blacklist.php on line 93



All other IMP pages and other preference pages still work when this 
happens - it is just these two pages that seem to run into a problem, 
and the problem disappears if I log out and back in.



I have waited for it to happen several times while using IMP in my 
test environment, to see if there is some pattern to when it happens, 
but I have not been able to figure it out. Never saw this happen with 
Ingo v1.1.3.



We're using PHP 4.3.2 and Cyrus IMAP4 v2.1.11.




Saved Queries