[dev] Horde_Form violates strict standards

Sebastian Birnbach birnbacs at gmail.com
Mon Jun 19 12:57:24 UTC 2017


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*: Declaration of Horde_Form_Type_image::onSubmit() should
be compatible with Horde_Form_Type::onSubmit() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *1361*

*Strict Standards*: Declaration of Horde_Form_Type_link::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *1438*

*Strict Standards*: Declaration of Horde_Form_Type_matrix::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *2165*

*Strict Standards*: Declaration of Horde_Form_Type_enum::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *2335*

*Strict Standards*: Declaration of Horde_Form_Type_mlenum::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *2411*

*Strict Standards*: Declaration of Horde_Form_Type_mlenum::onSubmit()
should be compatible with Horde_Form_Type::onSubmit() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *2411*

*Strict Standards*: Declaration of Horde_Form_Type_set::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *2569*

*Strict Standards*: Declaration of Horde_Form_Type_sorter::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3400*

*Strict Standards*: Declaration of Horde_Form_Type_selectfiles::init()
should be compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3470*

*Strict Standards*: Declaration of Horde_Form_Type_assign::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3600*

*Strict Standards*: Declaration of Horde_Form_Type_assign::getValues()
should be compatible with Horde_Form_Type::getValues() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3600*

*Strict Standards*: Declaration of Horde_Form_Type_dblookup::init() should
be compatible with Horde_Form_Type_enum::init($values, $prompt = NULL) in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3751*

*Strict Standards*: Declaration of Horde_Form_Type_figlet::init() should be
compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3804*

*Strict Standards*: Declaration of Horde_Form_Type_invalid::init() should
be compatible with Horde_Form_Type::init() in
*/usr/local/share/pear/Horde/Form/Type.php* on line *3873*


More information about the dev mailing list