Re: Horde_Form violates strict standards

Jan Schneider <[email protected]> Tue, 20 Jun 2017 09:39:34 +0000
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
Zitat von Sebastian Birnbach <[email protected]>:

> All,
>
> when I log into the Admin console of Horde, I am greeted with a bunch of
> error messages (see below). I first disregarded the messages as the rest of
> Horde seemed OK, but now I discovered problems in Whups that appear to be
> related to Horde_Forms.
>
> (If you must know, creating a ticket fails because form2 never validates
> and something is wrong with form3, as /var/log/debug.log yields: Jun 19
> 14:21:29 gollum HORDE: [whups] PHP ERROR: Declaration of
> Whups_Form_Ticket_CreateStepThree::validate() should be compatible with
> Horde_Form::validate($vars = NULL, $canAutoFill = false) [pid 5650 on line
> 0 of
> "/usr/local/www/apache24/data/whups/lib/Form/Ticket/CreateStepThree.php"].)
>
> I upgraded all Horde components and made sure all DB schemas are updated.
> Horde version is 5.2.15. To be on the safe side, I made sure Horde_Form is
> up to date:
>
> # sudo pear install horde/Horde_Form
> horde/Horde_Form is already installed and is the same as the released
> version 2.0.17
> install failed
>
>
> If it is not a version mismatch, what else can it be?
>
> Kind regards
>
>   birnbacs
>
>
>
>
> *Strict Standards*: Declaration of Horde_Form_Type_pgp::init() should be
> compatible with Horde_Form_Type_longtext::init($rows = 8, $cols = 80,
> $helper = Array) in */usr/local/share/pear/Horde/Form/Type.php* on line
> *878*

Strict standards are exactly that, strict coding standards. They don't  
have any functional meaning.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]