[horde] Call to undefined method PEAR_Error::render()

Jan Schneider jan at horde.org
Mon Feb 20 13:47:14 UTC 2012


Zitat von Reindl Harald <h.reindl at thelounge.net>:

> Am 20.02.2012 14:17, schrieb Jan Schneider:
>>
>> Zitat von Reindl Harald <h.reindl at thelounge.net>:
>>
>>> what is this?
>>> the third time today get a alert-mail from the server
>>>
>>> Feb 18 15:15:33 arrakis httpd: PHP Fatal error:  Call to undefined  
>>> method PEAR_Error::render() in
>>> /usr/share/horde/lib/Horde/Mobile.php on line 201
>>
>> It's some PEAR_Error that isn't catched. If you log it at that  
>> line, you may be able to
>> find out what the original error was.
>
> if i only knew how to reproduce......
>
> that error comes some times each day since upgrade
> to the latest horde3 and was never seen before

You can log the error and backtrace when this occurs, and wait until  
it happens:
if (is_a($this->_renderer, 'PEAR_Error')) {
     Horde::logMessage($this->_renderer->toString(), __FILE__,  
__LINE__, PEAR_LOG_ERR);
}

(I haven't done much H3 coding recently, so take this with a grain of salt)

-- 
The Horde Project
http://www.horde.org/




More information about the horde mailing list