6.0.0-beta1
7/5/25

[#8447] Fatal error when describing purge trash login task
Summary Fatal error when describing purge trash login task
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester jan (at) horde (dot) org
Created 07/22/2009 (5827 days ago)
Due
Updated 01/13/2010 (5652 days ago)
Assigned 08/03/2009 (5815 days ago)
Resolved 08/19/2009 (5799 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/13/2010 12:07:53 AM CVS Commit Comment #11 Reply to this comment
08/19/2009 09:34:05 AM Jan Schneider Comment #10
State ⇒ Resolved
Reply to this comment
The original problem is fixed, so closing this in favor of a new ticket.
08/18/2009 01:47:35 PM Jan Schneider Comment #9 Reply to this comment
Bummer, I forgot to take a closer look. But IIRC it didn't raise a 
notice, but I got a white screen of death.
08/03/2009 09:54:24 PM Jan Schneider Comment #8 Reply to this comment
I'm gonna report when the purge trash task fires off again next Sunday. ;)
08/03/2009 05:57:35 PM Michael Slusarz Comment #7
State ⇒ Feedback
Reply to this comment
It's raising its ugly head again:
Take 3.  See:

http://lists.horde.org/archives/commits/2009-August/001542.html
08/03/2009 04:36:48 PM Jan Schneider Comment #6
State ⇒ Assigned
Reply to this comment
It's raising its ugly head again:



( ! ) Notice: Undefined index: imp_imap in 
/home/jan/horde-hatchery/imp/lib/IMP.php on line 855

Call Stack

#        Time        Memory        Function        Location

1        0,0005        88844        {main}( )        ../logintasks.php:0

2        2,1107        5569756        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:78

3        2,1109        5569984        IMP::folderPref( 'Trash', TRUE )        ../PurgeTrash.php:83



( ! ) Fatal error: Call to a member function defaultNamespace() on a 
non-object in /home/jan/horde-hatchery/imp/lib/IMP.php on line 855

Call Stack

#        Time        Memory        Function        Location

1        0,0005        88844        {main}( )        ../logintasks.php:0

2        2,1107        5569756        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:78

3        2,1109        5569984        IMP::folderPref( 'Trash', TRUE )        ../PurgeTrash.php:83
07/27/2009 05:29:06 PM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
The issue is that base.php may not have been fully parsed at the time 
the logintasks are run in pushApp(), halfway through that file.   
Solution is to move init code to IMP::initialize() and then have the 
logintasks explicitly init IMP within themselves.
07/27/2009 01:27:37 PM Jan Schneider Comment #4
State ⇒ Assigned
Reply to this comment
Looks like it's back:



( ! ) Notice: Undefined index: imp_imap in 
/srv/www/htdocs/hordegit/imp/lib/IMP.php on line 800

Call Stack

#        Time        Memory        Function        Location

1        0,0006        86528        {main}( )        ../logintasks.php:0

2        0,1573        7217860        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:78

3        0,1575        7218040        IMP::folderPref( )        ../PurgeTrash.php:81



( ! ) Fatal error: Call to a member function defaultNamespace() on a 
non-object in /srv/www/htdocs/hordegit/imp/lib/IMP.php on line 800

Call Stack

#        Time        Memory        Function        Location

1        0,0006        86528        {main}( )        ../logintasks.php:0

2        0,1573        7217860        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:78

3        0,1575        7218040        IMP::folderPref( )        ../PurgeTrash.php:81
07/23/2009 10:33:27 PM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Correct, this has been fixed with the auth-callbacks.
07/23/2009 10:09:43 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
This shouldn't be an issue anymore... (?)
07/22/2009 08:58:34 AM Jan Schneider Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Fatal error when describing purge trash login task
Queue ⇒ IMP
Assigned to Michael Slusarz
Milestone ⇒
Patch ⇒ No
State ⇒ Assigned
Reply to this comment
( ! ) Notice: Undefined index: imp_imap in 
/home/jan/horde-hatchery/imp/lib/IMP.php on line 800

Call Stack

#        Time        Memory        Function        Location

1        0,0005        87924        {main}( )        ../logintasks.php:0

2        2,8650        5478604        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:77

3        2,8652        5478836        IMP::folderPref( 'Trash', TRUE )        ../PurgeTrash.php:81



( ! ) Fatal error: Call to a member function defaultNamespace() on a 
non-object in /home/jan/horde-hatchery/imp/lib/IMP.php on line 800

Call Stack

#        Time        Memory        Function        Location

1        0,0005        87924        {main}( )        ../logintasks.php:0

2        2,8650        5478604        IMP_LoginTasks_Task_PurgeTrash->describe( 
)        ../logintasks.php:77

3        2,8652        5478836        IMP::folderPref( 'Trash', TRUE )        ../PurgeTrash.php:81

Saved Queries