[imp] DIMP: Cannot use object of type PEAR_Error as array in ShowMessage.php

Michael M Slusarz slusarz at horde.org
Wed Jun 4 17:40:48 UTC 2008


Quoting Olaf <implist at beoserv.de>:

>>> 2. MsgBox saying:
>>>    doActionComplete: SyntaxError: Badly formed JSON string:
>>>    <br /><b>Fatal error</b>:  Cannot use object of type PEAR_Error
>>> as array in
>>> <b>/var/www/horde/dimp/lib/Views/ShowMessage.php</b> on line
>>> <b>322</b><br />
>>
>> Looks like your previewview hook returns a PEAR_Error.

I've added better error reporting/handling if the hook call fails.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list