[horde] PHP 8

Ferdinand Gruber fer.grub at yahoo.de
Fri Jan 13 17:05:34 UTC 2023


Hi,

since upgrade from PHP7 to PHP8 (8.0.27) horde creates a lot of fatal 
errors:

*Fatal error*: Uncaught ArgumentCountError: Too few arguments to 
function Horde_ErrorHandler::errorHandler(), 4 passed in 
/usr/share/php/PEAR/Horde/Injector/DependencyFinder.php on line 61 and 
exactly 5 expected in /usr/share/php/PEAR/Horde/ErrorHandler.php:153 
Stack trace: #0 
/usr/share/php/PEAR/Horde/Injector/DependencyFinder.php(61): 
Horde_ErrorHandler::errorHandler() #1 
/usr/share/php/PEAR/Horde/Injector/DependencyFinder.php(42): 
Horde_Injector_DependencyFinder->getParameterDependency() #2 
/usr/share/php/PEAR/Horde/Injector/Binder/Implementation.php(88): 
Horde_Injector_DependencyFinder->getMethodDependencies() #3 
/usr/share/php/PEAR/Horde/Injector/Binder/Implementation.php(70): 
Horde_Injector_Binder_Implementation->_getInstance() #4 
/usr/share/php/PEAR/Horde/Injector/Binder/AnnotatedSetters.php(78): 
Horde_Injector_Binder_Implementation->create() #5 
/usr/share/php/PEAR/Horde/Injector.php(238): 
Horde_Injector_Binder_AnnotatedSetters->create() #6 
/usr/share/php/PEAR/Horde/Injector.php(272): 
Horde_Injector->createInstance() #7 
/usr/share/php/PEAR/Horde/Injector.php(267): 
Horde_Injector->getInstance() #8 
/usr/share/php/PEAR/Horde/Injector/Binder/Factory.php(119): 
Horde_Injector->getInstance() #9 
/usr/share/php/PEAR/Horde/Injector.php(238): 
Horde_Injector_Binder_Factory->create() #10 
/usr/share/php/PEAR/Horde/Injector.php(272): 
Horde_Injector->createInstance() #11 /usr/share/php/PEAR/Horde.php(82): 
Horde_Injector->getInstance() #12 
/usr/share/php/PEAR/Horde/ErrorHandler.php(74): Horde::log() #13 
/usr/share/php/PEAR/Horde/ErrorHandler.php(209): 
Horde_ErrorHandler::fatal() #14 [internal function]: 
Horde_ErrorHandler::catchFatalError() #15 {main} thrown in 
*/usr/share/php/PEAR/Horde/ErrorHandler.php* on line *153*

My system is openSUSE 15.4. PEAR was not installed after system upgrade 
from Suse 15.3 to 15.4.
So I installed the package php8-pear manually on my system.

What can I do now?

-- 
Regards from Austria
Ferdinand Gruber


More information about the horde mailing list