6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10181] IMP showing Autocreate.php fatal error
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__. __..__ .___ \ /[__](__ [__)[__ \/ | |.__)[__)[___
Comment
>> Looks like IMP_Mailbox::getSpecialMailboxes() is returning some >> incorrect value. What does it return at the start of that excute() >> method? > > It´s returning a NULL value only for the "trash" array member, which > was supposed to be an object, and that´s why the error occurs only on > line 67. > > Here´s the debug info: > > 2011-06-03T20:16:14-03:00 DEBUG: Variable information: > array(4) { > ["drafts"]=> > object(IMP_Mailbox)#150 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(6) "Drafts" > } > ["sent"]=> > array(1) { > [0]=> > object(IMP_Mailbox)#160 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(4) "Sent" > } > } > ["spam"]=> > object(IMP_Mailbox)#157 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(4) "Spam" > } > ["trash"]=> > NULL > } > > Backtrace: > 1. Horde_Registry::appInit() /var/www/horde/imp/index.php:16 > 2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:238 > 3. Horde_Core_LoginTasks->runTasks() /usr/share/php/Horde/Registry.php:1343 > 4. Horde_LoginTasks->runTasks() /usr/share/php/Horde/Core/LoginTasks.php:48 > 5. IMP_LoginTasks_Task_Autocreate->execute() > /usr/share/php/Horde/LoginTasks.php:210 > 6. Horde::debug() /var/www/horde/imp/lib/LoginTasks/Task/Autocreate.php:44 > > If I set the option "When deleting messages, move them to your Trash > folder instead of marking them as deleted?" to 'true' under IMP > Preference, then a "Trash" folder is automatically created and the > fatal error msg goes aways. Then, debug info shows this: > > 2011-06-03T20:27:21-03:00 DEBUG: Variable information: > array(4) { > ["drafts"]=> > object(IMP_Mailbox)#151 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(6) "Drafts" > } > ["sent"]=> > array(1) { > [0]=> > object(IMP_Mailbox)#161 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(4) "Sent" > } > } > ["spam"]=> > object(IMP_Mailbox)#158 (3) { > ["cache"]=> > array(2) { > ["n"]=> > array(2) { > [0]=> > string(1) "." > [4]=> > int(1) > } > ["d"]=> > bool(true) > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(4) "Spam" > } > ["trash"]=> > object(IMP_Mailbox)#162 (3) { > ["cache"]=> > array(0) { > } > ["changed"]=> > int(0) > ["_mbox":protected]=> > string(5) "Trash" > } > } > > Backtrace: > 1. Horde_Registry::appInit() /var/www/horde/imp/compose.php:21 > 2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:238 > 3. Horde_Core_LoginTasks->runTasks() /usr/share/php/Horde/Registry.php:1343 > 4. Horde_LoginTasks->runTasks() /usr/share/php/Horde/Core/LoginTasks.php:48 > 5. IMP_LoginTasks_Task_Autocreate->execute() > /usr/share/php/Horde/LoginTasks.php:210 > 6. Horde::debug() /var/www/horde/imp/lib/LoginTasks/Task/Autocreate.php:44 > > Thanks.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers