[dev] Horde_Form violates strict standards
Jan Schneider
jan at horde.org
Tue Jun 20 09:39:34 UTC 2017
Zitat von Sebastian Birnbach <birnbacs at gmail.com>:
> 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/
More information about the dev
mailing list