[dev] Fatal error: Cannot use object of type PEAR_Error as array in horde/config/hooks.php

Andre Pawlowski sqall at h4des.org
Sat Dec 20 09:31:07 UTC 2008


Jan Schneider wrote:
>
> $fields[$field] is obviously a PEAR_Error. Dump $fields at the top
> of the method to see what the error message is.
>
Ok, I did it. But I still don't know what to do. I post here the dump
of the array (but only the part with PEAR, if you need more tell me).

PEAR_Error Object
(
    [error_message_prefix] =>
    [mode] => 1
    [level] => 1024
    [code] =>
    [message] => Hook _horde_hook_signup_getextra in application horde
not called.
    [userinfo] =>
    [backtrace] => Array
        (
            [0] => Array
                (
                    [file] => /usr/share/php/PEAR.php
                    [line] => 566
                    [function] => PEAR_Error
                    [class] => PEAR_Error
                    [object] => PEAR_Error Object
 *RECURSION*
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Hook _horde_hook_signup_getextra in
application horde not called.
                            [1] =>
                            [2] => 1
                            [3] => 1024
                            [4] =>
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/h4des.org_ssl/www/horde/lib/Horde.php
                    [line] => 1628
                    [function] => raiseError
                    [class] => PEAR
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Hook _horde_hook_signup_getextra in
application horde not called.
                        )

                )
                   




-- 


Andre Pawlowski

-------------------------------------------------------------------

Genius is one percent inspiration and 99 percent transpiration.
    -Thomas Alva Edison



More information about the dev mailing list