[horde] Issue with Turba on web Horde
Dmitry Petrov
dpetrov67 at gmail.com
Tue Mar 17 13:43:31 UTC 2026
... and, one of the reasons I missed it is that I looked for it in *.php
files only. It probably makes sense to adjust code and rename those *.inc
files to *.inc.php.
On Tue, Mar 17, 2026 at 9:38 AM Dmitry Petrov <dpetrov67 at gmail.com> wrote:
> Yes, the gettype() had some changes, I intentionally made it private, but
> apparently I missed that it was still used in Turba. Let me look into it.
>
> On Tue, Mar 17, 2026 at 1:09 AM Ralf Lang <ralf.lang at gmail.com> wrote:
>
>> Thank you for reporting. @Dmitry Petrov <dpetrov67 at gmail.com> this might
>> be something for you as it looks relate to Form library.
>>
>> Brent <impuser at bitrealm.com> schrieb am Mo., 16. März 2026, 22:50:
>>
>>> Just did a "composer update" to pick up all the latest packages.
>>>
>>> If you have any columns selected in Turba, then there's an error when
>>> viewing your Address Book. What's interesting is that the error points
>>> to a line of code I submitted as an update to a bug a few years ago.
>>>
>>> To reproduce the error:
>>>
>>> 1) Go to Preference -> Address Book -> Column Preferences
>>> 2) Select "Email" as an option to display
>>> 3) Hit Save
>>> 4) Now click on Address Book
>>>
>>> Error is:
>>>
>>> A fatal error has occurred
>>> Call to private method Horde_Form::getType() from scope Turba_View_List
>>> in /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>>
>>> Full/detailed error in logs is:
>>>
>>> A fatal error has occurred
>>> Call to private method Horde_Form::getType() from scope Turba_View_List
>>> in /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>>
>>> 1. require_once() /var/www/horde/web/turba/index.php:3
>>> 2. require() /var/www/horde/vendor/horde/turba/index.php:25
>>> 3. Turba_View_Browse->run()
>>> /var/www/horde/vendor/horde/turba/browse.php:49
>>> 4. Turba_View_List->display()
>>> /var/www/horde/vendor/horde/turba/lib/View/Browse.php:473
>>> 5. Turba_View_List->getAlpha()
>>> /var/www/horde/vendor/horde/turba/lib/View/List.php:237
>>> 6. Turba_View_List->_get()
>>> /var/www/horde/vendor/horde/turba/lib/View/List.php:299
>>> 7. include() /var/www/horde/vendor/horde/turba/lib/View/List.php:449
>>>
>>> Details
>>> The full error message is logged in Horde's log file, and is shown
>>> below only to administrators. Non-administrative users will not see
>>> error details.
>>>
>>> Error Object
>>> (
>>> [message:protected] => Call to private method
>>> Horde_Form::getType() from scope Turba_View_List
>>> [string:Error:private] => Error: Call to private method
>>> Horde_Form::getType() from scope Turba_View_List in
>>> /var/www/horde/vendor/horde/turba/templates/browse/row.inc:75
>>> Stack trace:
>>> #0 /var/www/horde/vendor/horde/turba/lib/View/List.php(449): include()
>>> #1 /var/www/horde/vendor/horde/turba/lib/View/List.php(299):
>>> Turba_View_List->_get()
>>> #2 /var/www/horde/vendor/horde/turba/lib/View/List.php(237):
>>> Turba_View_List->getAlpha()
>>> #3 /var/www/horde/vendor/horde/turba/lib/View/Browse.php(473):
>>> Turba_View_List->display()
>>> #4 /var/www/horde/vendor/horde/turba/browse.php(49):
>>> Turba_View_Browse->run()
>>> #5 /var/www/horde/vendor/horde/turba/index.php(25): require('...')
>>> #6 /var/www/horde/web/turba/index.php(3): require_once('...')
>>> #7 {main}
>>> [code:protected] => 0
>>> [file:protected] =>
>>> /var/www/horde/vendor/horde/turba/templates/browse/row.inc
>>> [line:protected] => 75
>>> [trace:Error:private] => Array
>>> (
>>> [0] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>> [line] => 449
>>> [function] => include
>>> )
>>>
>>> [1] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>> [line] => 299
>>> [function] => _get
>>> [class] => Turba_View_List
>>> [type] => ->
>>> )
>>>
>>> [2] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/lib/View/List.php
>>> [line] => 237
>>> [function] => getAlpha
>>> [class] => Turba_View_List
>>> [type] => ->
>>> )
>>>
>>> [3] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/lib/View/Browse.php
>>> [line] => 473
>>> [function] => display
>>> [class] => Turba_View_List
>>> [type] => ->
>>> )
>>>
>>> [4] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/browse.php
>>> [line] => 49
>>> [function] => run
>>> [class] => Turba_View_Browse
>>> [type] => ->
>>> )
>>>
>>> [5] => Array
>>> (
>>> [file] =>
>>> /var/www/horde/vendor/horde/turba/index.php
>>> [line] => 25
>>> [args] => Array
>>> (
>>> [0] =>
>>> /var/www/horde/vendor/horde/turba/browse.php
>>> )
>>>
>>> [function] => require
>>> )
>>>
>>> [6] => Array
>>> (
>>> [file] => /var/www/horde/web/turba/index.php
>>> [line] => 3
>>> [args] => Array
>>> (
>>> [0] =>
>>> /var/www/horde/vendor/horde/turba/index.php
>>> )
>>>
>>> [function] => require_once
>>> )
>>>
>>> )
>>>
>>> [previous:Error:private] =>
>>> )
>>>
>>>
>>>
>>> --
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>
More information about the horde
mailing list