6.0.0-beta13
4/14/26
  • Known issues for the lastest alpha version

++ turba

+++ Non-static method Horde_Form::getType() cannot be called statically

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