Date: Sun, 06 Feb 2022 11:46:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261743] www/horde-base: errors with PHP-80 in devel/pear-Horde_Injector Message-ID: <bug-261743-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261743 Bug ID: 261743 Summary: www/horde-base: errors with PHP-80 in devel/pear-Horde_Injector Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: horde@FreeBSD.org Reporter: thierry@FreeBSD.org Flags: maintainer-feedback?(horde@FreeBSD.org) Assignee: horde@FreeBSD.org After switching from php-74 to php-80, Horde apps do not work anymore: they cause HTTP ERROR 500. Message in httpd-error.log is: [php:error] [pid 2944] [client 127.0.0.1:22043] 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\nSta= ck trace:\n#0 /usr/local/share/pear/Horde/Injector/DependencyFinder.php(61): Horde_ErrorHandler::errorHandler(8192, 'Method Reflecti...', '/usr/local/shar...', 61)\n#1 /usr/local/share/pear/Horde/Injector/DependencyFinder.php(42): Horde_Injector_DependencyFinder->getParameterDependency(Object(Horde_Inject= or), Object(ReflectionParameter))\n#2 /usr/local/share/pear/Horde/Injector/Binder/Implementation.php(88): Horde_Injector_DependencyFinder->getMethodDependencies(Object(Horde_Injecto= r), Object(ReflectionMethod))\n#3 /usr/local/share/pear/Horde/Injector/Binder/Implementation.php(70): Horde_Injector_Binder_Implementation->_getInstance(Object(Horde_Injector), Object(ReflectionClass))\n#4 /usr/local/share/pear/Horde/Injector/Binder/AnnotatedSetters.php(78): Horde_Injector_Binder_Implementation->create(Object(Horde_Injector))\n#5 /usr/local/share/pear/Horde/Injector.php(238): Horde_Injector_Binder_AnnotatedSetters->create(Object(Horde_Injector))\n#6 /usr/local/share/pear/Horde/Injector.php(272): Horde_Injector->createInstance('Horde_Core_Fact...')\n#7 /usr/local/share/pear/Horde/Injector.php(267): Horde_Injector->getInstance('Horde_Core_Fact...')\n#8 /usr/local/share/pear/Horde/Injector/Binder/Factory.php(119): Horde_Injector->getInstance('Horde_Core_Fact...')\n#9 /usr/local/share/pear/Horde/Injector.php(238): Horde_Injector_Binder_Factory->create(Object(Horde_Injector))\n#10 /usr/local/share/pear/Horde/Injector.php(272): Horde_Injector->createInstance('Horde_Log_Logge...')\n#11 /usr/local/share/pear/Horde.php(82): Horde_Injector->getInstance('Horde_Log_Logge...')\n#12 /usr/local/share/pear/Horde/ErrorHandler.php(74): Horde::log(Object(ErrorException), 'EMERG')\n#13 /usr/local/share/pear/Horde/ErrorHandler.php(209): Horde_ErrorHandler::fatal(Object(ErrorException))\n#14 [internal function]: Horde_ErrorHandler::catchFatalError()\n#15 {main}\n thrown in /usr/local/share/pear/Horde/ErrorHandler.php on line 153 and `php /usr/local/www/horde/test.php` displays the following: Fatal Error:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 Too few arguments to function Horde_ErrorHandler::errorHandler(), 4=20=20 passed and exactly 5 expected=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 In /usr/local/share/pear/Horde/ErrorHandler.php on line 153=20=20=20=20= =20=20=20=20=20=20 1. Horde_Registry::appInit() /usr/local/www/horde/test.php:49=20=20=20=20= =20=20=20=20 2. Horde_Registry->__construct()=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry.php:287=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 3. Horde_Registry->importConfig()=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry.php:480=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 4. Horde_Registry_Hordeconfig->toArray()=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry.php:1773=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 5. Horde_Registry_Hordeconfig->_load()=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry/Hordeconfig.php:65=20=20=20=20=20= =20=20=20=20=20=20 6. Horde_Registry_Loadconfig->__construct()=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry/Hordeconfig.php:78=20=20=20=20=20= =20=20=20=20=20=20 7. include() /usr/local/share/pear/Horde/Registry/Loadconfig.php:79=20=20 8. Horde_ErrorHandler::errorHandler()=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/share/pear/Horde/Registry/Loadconfig.php:79 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261743-7788>