Summary | IMP showing Autocreate.php fatal error |
Queue | IMP |
Queue Version | 5.0.5 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | lfbm.andamentos (at) gmail (dot) com |
Created | 06/02/2011 (5146 days ago) |
Due | |
Updated | 06/04/2011 (5144 days ago) |
Assigned | 06/02/2011 (5146 days ago) |
Resolved | 06/04/2011 (5144 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Bug #10181: Special mailboxes may not be configured1 files changed, 4 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/7ce71afbec24620ac0b72c194cc489309ea3ea99
incorrect value. What does it return at the start of that excute()
method?
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.
incorrect value. What does it return at the start of that excute()
method?
Horde::debug() documentation: http://wiki.horde.org/Doc/Dev/DebugH4
And the Horde::debug($val) returned:
2011-06-02T21:47:42-03:00 DEBUG: 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:67
Thanks.
State ⇒ Feedback
Horde::debug() documentation: http://wiki.horde.org/Doc/Dev/DebugH4
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMP showing Autocreate.php fatal error
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
On every new login, the first time I click on "mail" module , I get this:
Fatal error: Call to a member function create() on a non-object in
/var/www/horde/imp/lib/LoginTasks/Task/Autocreate.php on line 67
After hiting refresh, the error disappears, but only until next login.