For following installation:
"require": {
"composer-plugin-api": "^2.0",
"horde/horde-installer-plugin": "^2.5.1 || dev-FRAMEWORK_6_0 || dev-master",
"horde/horde": "^6 || dev-FRAMEWORK_6_0",
"horde/routes": "^3 || dev-FRAMEWORK_6_0",
"horde/hordectl": "^1 || dev-FRAMEWORK_6_0 || dev-master",
"pear/console_color2": "^0.1.2",
"pear/console_table": "^1.3",
"horde/kronolith": "^5",
"horde/turba": "^5",
"horde/passwd": "^6",
"horde/mnemo": "^5",
"horde/content": "^3",
"horde/timeobjects": "^3",
"horde/imp": "^7",
"horde/nag": "^5",
"horde/activesync": "v3.0.0.alpha4"
PHP: 8.1.16
apache: 2.4.54
Issue description:
Got error 'PHP message: PHP Warning: require_once(/var/www/html/horde/vendor/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/horde/vendor/horde/horde/rampage.php on line 2 PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/horde/vendor/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/horde/vendor/horde/horde/rampage.php:2\nStack trace:\n#0 {main}\n thrown in /var/www/html/horde/vendor/horde/horde/rampage.php on line 2'
Proposed solution from Michael <michael at johalla.de>
I changed the path to autoload.php in vendor/horde/horde/rampage.php from
require_once dirname(__FILE__, 3) . '/vendor/autoload.php';
require_once dirname(__FILE__, 3) . '/autoload.php';
Issue description:
A FATAL ERROR HAS OCCURRED NON-STATIC METHOD HORDE_FORM::GETTYPE() CANNOT BE CALLED STATICALLY in /var/www/html/horde/vendor/horde/turba/templates/browse/row.inc:75 1. require() /var/www/html/horde/vendor/horde/turba/index.php:24 2. Turba_View_Browse->run() /var/www/html/horde/vendor/horde/turba/browse.php:48 3. Turba_View_List->display() /var/www/html/horde/vendor/horde/turba/lib/View/Browse.php:425 4. Turba_View_List->getAlpha() /var/www/html/horde/vendor/horde/turba/lib/View/List.php:234 5. Turba_View_List->_get() /var/www/html/horde/vendor/horde/turba/lib/View/List.php:294 6. include() /var/www/html/horde/vendor/horde/turba/lib/View/List.php:442
Proposed solution from Brent <impuser at bitrealm.com>
I have found the fix for this. I had to "patch" the
/var/www/html/horde/vendor/horde/turba/templates/browse/row.inc
file. Here's my patch...I am decidedly NOT a programmer, so I've no
idea if this is the right way to fix this, created a bottleneck, or if
maybe I've unleashed Zod from his mirror prison.
@@ -72,11 +72,11 @@ if ($type == 'email') { $this->variables[$this->columns[$c - 1]] = new Horde_Form_Variable('', $this->columns[$c - 1], - Horde_Form::getType('html'), false); + (new Horde_Form(0))->getType('html'), false); } else { $this->variables[$this->columns[$c - 1]] = new Horde_Form_Variable('', $this->columns[$c - 1], - Horde_Form::getType($type, $params), + (new Horde_Form(0))->getType($type, $params), false); }
Proposed solution from Brent <impuser at bitrealm.com>
<horde-root>/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php Line 209 has: $html .= sprintf('<input class="button" name="%s" id="%S" type="submit" value="%s" /> ', The upper-case "S" should be lower-case: $html .= sprintf('<input class="button" name="%s" id="%s" type="submit" value="%s" /> ',
Issue description:
EMERG: HORDE [kronolith] Error: Non-static method Date_TimeZone::isValidID() cannot be called statically in /usr/share/php/Date/TimeZone.php:4717 Stack trace: #0 /usr/share/php/Date.php(55): require_once() #1 /usr/share/php/Date/Holidays.php(39): require_once('...') #2 /var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(129): include('...') #3 /var/www/html/horde/vendor/horde/autoloader/lib/Horde/Autoloader.php(66): Horde_Autoloader->_include() #4 [internal function]: Horde_Autoloader->loadClass() #5 /var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(549): class_exists() #6 /var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(201): Kronolith_CalendarsManager->_getAllHolidays() #7 /var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(572): Kronolith_CalendarsManager->get() #8 /var/www/html/horde/vendor/horde/kronolith/lib/CalendarsManager.php(207): Kronolith_CalendarsManager->_getDisplayHolidays() #9 /var/www/html/horde/vendor/horde/kronolith/lib/Kronolith.php(282): Kronolith_CalendarsManager->get() #10 /var/www/html/horde/vendor/horde/kronolith/lib/Block/Summary.php(110): Kronolith::listEvents() #11 /var/www/html/horde/vendor/horde/core/lib/Horde/Core/Block.php(278): Kronolith_Block_Summary->_content() #12 /var/www/html/horde/vendor/horde/core/lib/Horde/Core/Block.php(175): Horde_Core_Block->_call() #13 /var/www/html/horde/vendor/horde/core/lib/Horde/Core/Block/Layout/View.php(98): Horde_Core_Block->getContent() #14 /var/www/html/horde/vendor/horde/horde/services/portal/index.php(35): Horde_Core_Block_Layout_View->toHtml()
Proposed solution from Michael <michael at johalla.de>
Change configuration of Kronolith and switch off:
Displaying Holidays -> $conf[holidays][enable]
DEBUG: HORDE PHP ERROR: Horde_Cache_Storage_File implements the Serializable interface, which is deprecated. Implement serialize() and unserialize() instead (or in addition, if support for old PHP versions is necessary) [pid XX on line 27 of "/vendor/horde/cache/lib/Horde/Cache/Storage/File.php"]
-> /vendor/horde/cache/lib/Horde/Cache/Storage/Base.php: -> please pull/merge https://github.com/horde/Cache/pull/1/commits/dd112af53d49ab50816db3c3521abec933495ead to your branch
PHP ERROR: IMP_Imap implements the Serializable interface, which is deprecated. Implement serialize() and unserialize() instead (or in addition, if support for old PHP versions is necessary) [pid XX on line 42 of "/vendor/horde/imp/lib/Imap.php"]
No fix available