[Tickets #7181] Re: Fatal error: Cannot use object of type PEAR_Error as array in /usr/share/horde3/lib/Horde/IMAP/Cache.php on line 80
bugs at horde.org
bugs at horde.org
Fri Sep 5 17:55:22 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7181
------------------------------------------------------------------------------
Ticket | 7181
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Fatal error: Cannot use object of type PEAR_Error as
| array in /usr/share/horde3/lib/Horde/IMAP/Cache.php on
| line 80
Queue | Horde Framework Packages
Version | FRAMEWORK_3
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2008-09-05 13:55) wrote:
That print_r() has to return *something* or else there is no possible
way the code could reach that point (the code would short-circuit that
section if the variable was truly empty). You can try replacing
print_r() with var_dump() and see if that helps.
And if PHP is crashing, an error message has to be output *somewhere*
(unless you have somehow configured your webserver to redirect all
standard output/error from PHP to /dev/null, which is a Bad Idea).
More information about the bugs
mailing list