[prev in list] [next in list] [prev in thread] [next in thread]
List: horde
Subject: Re: [horde] Horde installation with PHP7
From: Michael J Rubinsky <mrubinsk () horde ! org>
Date: 2016-09-14 13:07:33
Message-ID: 20160914130733.Horde.1h5HzSxAkenbzjZLCGWtXcj () h4 ! theupstairsroom ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Quoting Jan Schneider <jan@horde.org>:
> Zitat von Melkor Lord <melkor.lord@gmail.com>:
>
>> On Tue, Sep 13, 2016 at 9:03 PM, Jan Schneider <jan@horde.org> wrote:
>>
>> If by any chance you have a quick fix for that, it would be nice:
>>>
>>>>
>>>> [ingo] PHP ERROR: Declaration of Horde_Form_Type_country::init($prompt =
>>>> NULL) should be compatible with Horde_Form_Type_enum::init($values,
>>>> $prompt
>>>> = NULL) [pid 13858 on line 0 of "/usr/share/php/Horde/Form/Type.php"]
>>>>
>>>
>>> There is no fix, this is just a warning.
>>>
>>
>> There should be a fix for that. There's obviously something wrong with the
>> init() method for not supporting the same number of arguments accross all
>> inheritances from Horde_Form_Type_enum. Maybe this was allowed in previous
>> versions of PHP but not any more apparently.
>
> Again, this is a warning, not a PHP error. It's about coding style.
> It doesn't influence actual behavior at all. In any PHP version.
>
>> I can dig into the code to quick-fix it myself but as you guys have the
>> full insight of your project, it would be a cleaner fix and also avoid all
>> kinds of side effects.
>>
>> Currently, this error is filling up my syslog on about every page access
>> which is VERY annoying and dangerous too as it creates log noise that could
>> make other errors hard to spot.
>
> Then you need to adjust your PHP error reporting level.
>
>> I really would appreciate a way to fix this ERROR, because it is treated as
>> such by PHP.
To add to what Jan already said - even if it was something that
*needed* to be fixed, we couldn't do so until Horde 6 since changing
the function signatures to make those two match would be a BC break.
>> --
>> Unix _IS_ user friendly, it's just selective about who its friends are.
>
>
>
> --
> Jan Schneider
> The Horde Project
> http://www.horde.org/
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe@lists.horde.org
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
["smime.p7s" (application/pkcs7-signature)]
--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic