[horde] Turba error

Ralf Lang ralf.lang at gmail.com
Mon Apr 27 20:18:12 UTC 2026


I released a new version.

On Sun, Apr 26, 2026 at 4:59 PM Brent <impuser at bitrealm.com> wrote:

>   One gets this if you try to view the properties of the address book.
> I belive this ticket is also your issue?
>
> Thanks!
>
> https://github.com/horde/turba/issues/38
>
> brent
>
> Quoting Ruud Baart <r.j.baart at prompt.nl>:
>
> > Changing Horde.php:1318 from
> >
> >   $options['params'][$key] = addcslashes((string) $val, '"');
> >
> > to
> >
> >   $options['params'][$key] = addcslashes((string) $val, '"');
> >
> > helps. But that's probably just a band-aid and not a solution.
> >
> > Op 26-4-2026 om 16:26 schreef Ruud Baart:
> >> horde/turba  5.0.0beta5
> >>
> >> horde/horde                  dev-refactor/vanilla-js-migration ef68f2e
> >>
> >> In web interface, address can't be accessed:
> >>
> >>  A fatal error has occurred
> >>
> >>      addcslashes(): Argument #1 ($string) must be of type string, true
> >>      given
> >>
> >> in /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php:1318
> >>
> >> 1. require_once()
> /aa/bb/domain.ab/horde/web/turba/addressbooks/edit.php:3
> >> 2. Turba_Form_EditAddressBook->__construct()
> >> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php:36
> >> 3. Horde::popupJs()
> >>
> /aa/bb/domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php:154
> >> 4. Horde\Core\Horde::popupJs()
> >> /aa/bb/domain.ab/horde/vendor/horde/core/lib/Horde.php:941
> >> 5. addcslashes()
> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php:1318
> >>
> >>      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.
> >>
> >> TypeError Object
> >> (
> >>     [message:protected] => addcslashes(): Argument #1 ($string)
> >> must be of type string, true given
> >>     [string:Error:private] => TypeError: addcslashes(): Argument #1
> >> ($string) must be of type string, true given in
> >> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php:1318
> >> Stack trace:
> >> #0 /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php(1318)[1]:
> >> addcslashes()
> >> #1 /aa/bb/domain.ab/horde/vendor/horde/core/lib/Horde.php(941)[2]:
> >> Horde\Core\Horde::popupJs()
> >> #2
> >>
> /aa/bb/domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php(154)[3]:
>
> >> Horde::popupJs()
> >> #3
> >>
> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php(36)[4]:
> >> Turba_Form_EditAddressBook->__construct()
> >> #4 /aa/bb/domain.ab/horde/web/turba/addressbooks/edit.php(3)[5]:
> >> require_once('...')
> >> #5 {main}
> >>     [code:protected] => 0
> >>     [file:protected] =>
> >> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php[6]
> >>     [line:protected] => 1318
> >>     [trace:Error:private] => Array
> >>         (
> >>             [0] => Array
> >>                 (
> >>                     [file] =>
> >> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php[6]
> >>                     [line] => 1318
> >>                     [function] => addcslashes
> >>                 )
> >>
> >>             [1] => Array
> >>                 (
> >>                     [file] =>
> >> /aa/bb/domain.ab/horde/vendor/horde/core/lib/Horde.php[7]
> >>                     [line] => 941
> >>                     [function] => popupJs
> >>                     [class] => Horde\Core\Horde
> >>                     [type] => ::
> >>                 )
> >>
> >>             [2] => Array
> >>                 (
> >>                     [file] =>
> >>
> /aa/bb/domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php[8]
> >>                     [line] => 154
> >>                     [function] => popupJs
> >>                     [class] => Horde
> >>                     [type] => ::
> >>                 )
> >>
> >>             [3] => Array
> >>                 (
> >>                     [file] =>
> >> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php[9]
> >>                     [line] => 36
> >>                     [function] => __construct
> >>                     [class] => Turba_Form_EditAddressBook
> >>                     [type] => ->
> >>                 )
> >>
> >>             [4] => Array
> >>                 (
> >>                     [file] =>
> >> /aa/bb/domain.ab/horde/web/turba/addressbooks/edit.php[10]
> >>                     [line] => 3
> >>                     [args] => Array
> >>                         (
> >>                             [0] =>
> >> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php[9]
> >>                         )
> >>
> >>                     [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
>
>
>
> Links:
> ------
> [1] http://domain.ab/horde/vendor/horde/core/src/Horde.php(1318)
> [2] http://domain.ab/horde/vendor/horde/core/lib/Horde.php(941)
> [3]
> http://domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php(154)
> [4] http://domain.ab/horde/vendor/horde/turba/addressbooks/edit.php(36)
> [5] http://domain.ab/horde/web/turba/addressbooks/edit.php(3)
> [6] http://domain.ab/horde/vendor/horde/core/src/Horde.php
> [7] http://domain.ab/horde/vendor/horde/core/lib/Horde.php
> [8] http://domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php
> [9] http://domain.ab/horde/vendor/horde/turba/addressbooks/edit.php
> [10] http://domain.ab/horde/web/turba/addressbooks/edit.php
> --
> 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