[Tickets #7181] 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
Sun Aug 10 10:16:45 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7181
------------------------------------------------------------------------------
  Ticket             | 7181
  Created By         | x5pcjr3t1nvsqf0 at bodhi.lawlita.com
  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              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


x5pcjr3t1nvsqf0 at bodhi.lawlita.com (2008-08-10 06:16) wrote:

print_r($ptr);

PEAR_Error Object
(
     [error_message_prefix] =>
     [mode] => 1
     [level] => 1024
     [code] =>
     [message] => Unserialization failed.
     [userinfo] =>
     [backtrace] => Array
         (
             [0] => Array
                 (
                     [file] => /usr/share/php/PEAR.php
                     [line] => 576
                     [function] => PEAR_Error
                     [class] => PEAR_Error
                     [type] => ->
                     [args] => Array
                         (
                             [0] => Unserialization failed.
                             [1] =>
                             [2] => 1
                             [3] => 1024
                             [4] =>
                         )

                 )

             [1] => Array
                 (
                     [file] => /usr/share/horde3/lib/Horde/Serialize.php
                     [line] => 378
                     [function] => raiseError
                     [class] => PEAR
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_IMAP_Cache
                             [_statuscache] => Array
                                 (
                                 )

                             [_arrival] => Array
                                 (
                                 )

                             [_tosave] =>
                             [_usecache] => 1
                             [_cache] => Array
                                 (
                                     [{domain.de:143/imap/notls}INBOX]  
=> PEAR_Error Object
  *RECURSION*
                                 )

                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] => Unserialization failed.
                         )

                 )

             [2] => Array
                 (
                     [file] => /usr/share/horde3/lib/Horde/Serialize.php
                     [line] => 111
                     [function] => _unserialize
                     [class] => Horde_Serialize
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_IMAP_Cache
                             [_statuscache] => Array
                                 (
                                 )

                             [_arrival] => Array
                                 (
                                 )

                             [_tosave] =>
                             [_usecache] => 1
                             [_cache] => Array
                                 (
                                     [{domain.de:143/imap/notls}INBOX]  
=> PEAR_Error Object
  *RECURSION*
                                 )

                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] => PEAR_Error Object
  *RECURSION*
                             [1] => 6
                             [2] =>
                         )

                 )

             [3] => Array
                 (
                     [file] => /usr/share/horde3/imp/lib/IMAP/Cache.php
                     [line] => 105
                     [function] => unserialize
                     [class] => Horde_Serialize
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_IMAP_Cache
                             [_statuscache] => Array
                                 (
                                 )

                             [_arrival] => Array
                                 (
                                 )

                             [_tosave] =>
                             [_usecache] => 1
                             [_cache] => Array
                                 (
                                     [{domain.de:143/imap/notls}INBOX]  
=> PEAR_Error Object
  *RECURSION*
                                 )

                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] =>
                             [1] => 6
                         )

                 )

             [4] => Array
                 (
                     [file] => /usr/share/horde3/imp/lib/Mailbox.php
                     [line] => 861
                     [function] => getCache
                     [class] => IMP_IMAP_Cache
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_IMAP_Cache
                             [_statuscache] => Array
                                 (
                                 )

                             [_arrival] => Array
                                 (
                                 )

                             [_tosave] =>
                             [_usecache] => 1
                             [_cache] => Array
                                 (
                                     [{domain.de:143/imap/notls}INBOX]  
=> PEAR_Error Object
  *RECURSION*
                                 )

                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] =>
                             [1] => {domain.de:143/imap/notls}INBOX
                             [2] => msgl
                             [3] => 0
                         )

                 )

             [5] => Array
                 (
                     [file] => /usr/share/horde3/imp/lib/Mailbox.php
                     [line] => 621
                     [function] => _getCache
                     [class] => IMP_Mailbox
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_Mailbox
                             [_mailbox] => INBOX
                             [_arrayIndex] =>
                             [_lastArrayIndex] =>
                             [_build] =>
                             [_sorted] => Array
                                 (
                                 )

                             [_sortedInfo] => Array
                                 (
                                 )

                             [_cacheexpire] =>
                             [_searchmbox] =>
                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] => INBOX
                             [1] => msgl
                             [2] => 0
                         )

                 )

             [6] => Array
                 (
                     [file] => /usr/share/horde3/imp/lib/Mailbox.php
                     [line] => 127
                     [function] => _setSorted
                     [class] => IMP_Mailbox
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_Mailbox
                             [_mailbox] => INBOX
                             [_arrayIndex] =>
                             [_lastArrayIndex] =>
                             [_build] =>
                             [_sorted] => Array
                                 (
                                 )

                             [_sortedInfo] => Array
                                 (
                                 )

                             [_cacheexpire] =>
                             [_searchmbox] =>
                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] => 1
                         )

                 )

             [7] => Array
                 (
                     [file] => /usr/share/horde3/imp/lib/Mailbox.php
                     [line] => 105
                     [function] => IMP_Mailbox
                     [class] => IMP_Mailbox
                     [object] => __PHP_Incomplete_Class Object
                         (
                             [__PHP_Incomplete_Class_Name] => IMP_Mailbox
                             [_mailbox] => INBOX
                             [_arrayIndex] =>
                             [_lastArrayIndex] =>
                             [_build] =>
                             [_sorted] => Array
                                 (
                                 )

                             [_sortedInfo] => Array
                                 (
                                 )

                             [_cacheexpire] =>
                             [_searchmbox] =>
                         )

                     [type] => ->
                     [args] => Array
                         (
                             [0] => INBOX
                             [1] =>
                         )

                 )

             [8] => Array
                 (
                     [file] => /usr/share/horde3/imp/mailbox.php
                     [line] => 229
                     [function] => singleton
                     [class] => IMP_Mailbox
                     [type] => ::
                     [args] => Array
                         (
                             [0] => INBOX
                         )

                 )

         )

     [callback] =>
)





More information about the bugs mailing list