[imp] Search "entire message" member function fetch() on a non-object

Samuel Wolf samuel at sheepflock.de
Wed Jun 11 22:50:41 UTC 2014


Zitat von Michael M Slusarz <slusarz at horde.org>:

> Quoting Samuel Wolf <samuel at sheepflock.de>:
>
>> Hi,
>>
>> at the moment I use IMP-6.2.0beta1* with Horde-5.2.0beta2 and  
>> Horde_Core-2.12.0beta2 since there are some bugs which affect me in  
>> IMP-6.2.0beta2.
>>
>> One of my user can search in the INBOX with "entire message", get  
>> the search result and can open the message in the preview mode.
>> Same user can search in the "Sent" folder with "entire message",  
>> get the search result but after select a message or double click on  
>> it Horde show "Error when communicating with the server.".
>>
>> Horde.log:
>> 2014-06-07T13:53:02+00:00 EMERG: HORDE [imp] Call to a member  
>> function fetch() on a non-object [pid 17325 on line 1616 of  
>> "/var/www/http/horde/imp/lib/Contents.php"]
>>
>> POST https://example.com/horde/services/ajax.php/imp/showMessage  
>> [HTTP/1.0 500 Internal Server Error 297ms]
>> "onFailure" {request: Object, transport: XMLHttpRequest,  
>> readyState: 4, status: 500, statusText: "Internal Server Error",  
>> responseText: "<html>
>> <head><title>Horde :: Fatal Error</title></head>
>> <body style="background:#fff; color:#000"><h1>A fatal error has  
>> occurred</h1><h3>Call to a member function fetch() on a  
>> non-object</h3><h3>Details have been logged for the  
>> administrator.</h3></body></html>", headerJSON: null, responseXML:  
>> null, responseJSON: null}
>>
>> It works sometimes in sent, but do not found the logic when it  
>> works an when not. :(
>>
>> Any ideas?
>
> Absolutely no clue.  There are only two outcomes to calling fetch()  
> - it returns a Results object or it throws an Exception.  Neither  
> could produce this error message.  You will need to debug locally.

Michael, help this to track the issue down?

I'm not on git!
horde                     5.2.0beta2  beta
Horde_Core                2.12.0beta3 beta
imp                       6.2.0beta2  beta

[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP Fatal  
error:  Call to a member function fetch() on a non-object in  
/var/www/horde/imp/lib/Contents.php on line 1616, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP Stack  
trace:, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   1.  
{main}() /var/www/horde/services/ajax.php:0, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   2.  
Horde_Core_Ajax_Application->doAction()  
/var/www/horde/services/ajax.php:57, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   3.  
call_user_func() /usr/share/php/Horde/Core/Ajax/Application.php:175,  
referer: https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   4.  
IMP_Ajax_Application_Handler_Common->showMessage()  
/usr/share/php/Horde/Core/Ajax/Application.php:175, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   5.  
IMP_Factory_Contents->create()  
/var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:685,  
referer: https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   6.  
IMP_Contents->__construct()  
/var/www/horde/imp/lib/Factory/Contents.php:45, referer:  
https://192.168.55.45/horde/imp/dynamic.php?page=mailbox
[Thu Jun 12 00:44:20 2014] [error] [client 192.168.55.104] PHP   7.  
IMP_Contents->_fetchData() /var/www/horde/imp/lib/Contents.php:114,  
referer: https://192.168.55.45/horde/imp/dynamic.php?page=mailbox


>
> michael
>
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
> -- 
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org





More information about the imp mailing list