[prev in list] [next in list] [prev in thread] [next in thread]
List: horde
Subject: [horde] php8 fatal errors
From: Ferdinand Gruber <fer.grub () yahoo ! de>
Date: 2023-01-14 21:53:12
Message-ID: f6ff8104-7718-bb7b-cbbf-04e750ee96e3 () yahoo ! de
[Download RAW message or body]
Hi,
since upgrade from PHP7 to PHP8 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 version 15.4.
After upgrade from SUSE 15.3 to 15.4 PEAR was not installed.
So I installed the package php8-pear manually.
The include_path in php.ini is set to:
include_path= ".:/usr/share/php8:/usr/share/php/PEAR"
The PEAR folder exists and seems up to date.
Thank you in advance for every hint.
--
Regards from Austria
Ferdinand Gruber
--
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