Summary: | www/horde-base: errors with PHP-80 in devel/pear-Horde_Injector | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Thierry Thomas <thierry> | ||||
Component: | Individual Port(s) | Assignee: | horde | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | staff | ||||
Priority: | --- | Flags: | thierry:
maintainer-feedback-
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://bugs.horde.org/ticket/15094 | ||||||
Attachments: |
|
Description
Thierry Thomas
2022-02-06 11:46:34 UTC
Me too i have the same thing 07-Feb-2022 06:48:22 Europe/Paris] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Horde_ErrorHandler::errorHandler(), 4 passed in /usr/local/share/pear/Horde/Injector/DependencyFinder.php on line 61 and exactly 5 expected in /usr/local/share/pear/Horde/ErrorHandler.php:153 Stack trace: #0 /usr/local/share/pear/Horde/Injector/DependencyFinder.php(61): Horde_ErrorHandler::errorHandler(8192, 'Method Reflecti...', '/usr/local/shar...', 61) #1 /usr/local/share/pear/Horde/Injector/DependencyFinder.php(42): Horde_Injector_DependencyFinder->getParameterDependency(Object(Horde_Injector), Object(ReflectionParameter)) #2 /usr/local/share/pear/Horde/Injector/Binder/Implementation.php(88): Horde_Injector_DependencyFinder->getMethodDependencies(Object(Horde_Injector), Object(ReflectionMethod)) #3 /usr/local/share/pear/Horde/Injector/Binder/Implementation.php(70): Horde_Injector_Binder_Implementation->_getInstance(Object(Horde_Injector), Object(ReflectionClass)) #4 /usr/local/share/pear/Horde/Injector/Binder/AnnotatedSetters.php(78): Horde_Injector_Binder_Implementation->create(Object(Horde_Injector)) #5 /usr/local/share/pear/Horde/Injector.php(238): Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injector)) #6 /usr/local/share/pear/Horde/Injector.php(272): Horde_Injector->createInstance('Horde_Core_Fact...') #7 /usr/local/share/pear/Horde/Injector.php(267): Horde_Injector->getInstance('Horde_Core_Fact...') #8 /usr/local/share/pear/Horde/Injector/Binder/Factory.php(119): Horde_Injector->getInstance('Horde_Core_Fact...') #9 /usr/local/share/pear/Horde/Injector.php(238): Horde_Injector_Binder_Factory->create(Object(Horde_Injector)) #10 /usr/local/share/pear/Horde/Injector.php(272): Horde_Injector->createInstance('Horde_Log_Logge...') #11 /usr/local/share/pear/Horde.php(82): Horde_Injector->getInstance('Horde_Log_Logge...') #12 /usr/local/share/pear/Horde/ErrorHandler.php(74): Horde::log(Object(ErrorException), 'EMERG') #13 /usr/local/share/pear/Horde/ErrorHandler.php(209): Horde_ErrorHandler::fatal(Object(ErrorException)) #14 [internal function]: Horde_ErrorHandler::catchFatalError() #15 {main} thrown in /usr/local/share/pear/Horde/ErrorHandler.php on line 153 Created attachment 231597 [details]
Do not use with PHP 8.x
This issue will be addressed by the Horde project. Meanwhile we should restrict these ports to PHP 7.x.
Just committed. Note: a patch is available at https://github.com/horde/Core/commit/1ec6fa6d150257a1eac64d6cc987a79656d6a0dc It could be back-ported, but I have not tested enough all the different applications to be sure that it would be sufficient for Horde to become compatible with PHP-8. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=63890f850d7d87d0b7699feff64ccd797072481d commit 63890f850d7d87d0b7699feff64ccd797072481d Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-02-07 08:17:07 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-02-22 18:15:02 +0000 www/horde-base: do not use with PHP 8.x Note: a patch is available at https://github.com/horde/Core/commit/1ec6fa6d150257a1eac64d6cc987a79656d6a0dc It could be back-ported, but I have not tested enough all the different applications to be sure that it would be sufficient for Horde to become compatible with PHP-8. PR: 261743 Approved by: maintainer’s time-out www/horde-base/Makefile | 1 + 1 file changed, 1 insertion(+) |