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); }
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]