[horde] Turba error
Ralf Lang
ralf.lang at gmail.com
Wed Apr 29 03:40:49 UTC 2026
Hello,
I looked into this but it got too late to finish it. I rebased
the refactor/vanilla-js-migration branch of "base" on the latest changes
the normal version has.
In imp the refactor/vanilla-js-migration was already up to date.
In kronolith refactor/vanilla-js-migration is not special at the moment, do
not use it,
On Tue, Apr 28, 2026 at 11:00 PM Brent <impuser at bitrealm.com> wrote:
> Yeah, I get the same error if I upgrade to those javascript "test"
> versions.
>
> To install the test files, I had to do: (same as Nels)
>
> sudo -u apache composer require horde/imp:dev-refactor/vanilla-js-migration
> sudo -u apache composer require
> horde/kronolith:dev-refactor/vanilla-js-migration
> sudo -u apache composer require
> "horde/horde:dev-refactor/vanilla-js-migration as 6.0.0beta14.1"
>
> Then I get this same error. To revert to "beta/alpha" versions, I
> edited the composer.json file and put it back:
>
> After javascript install entries:
>
> "horde/horde": "dev-refactor/vanilla-js-migration as 6.0.0beta14.1",
> "horde/kronolith": "dev-refactor/vanilla-js-migration",
> "horde/imp": "dev-refactor/vanilla-js-migration",
>
> Putting it back:
>
> "horde/horde": "^6",
> "horde/kronolith": "^5",
> "horde/imp": "^7",
>
> Then do a "composer update" and got my instance operational again. Not
> sure where the javascript test is at the moment, but it doesn't like
> the latest version, that's for sure.
>
> brent
>
> Quoting R.J.Baart at prompt.nl:
>
> > The only difference compared to the Horde setup here is that I'm,
> > and I quote Ralf Lang, "a brave soul who is willing to apply three
> > big patches to their Horde javascript".
> >
> > horde/horde dev-refactor/vanilla-js-migration ef68f2e
> > horde/imp dev-refactor/vanilla-js-migration 48bb7ad
> > horde/kronolith dev-refactor/vanilla-js-migration d6acc24
> >
> > No, I can't login. I tried also a few other computer systems to rule
> > out cache problems. Login screen is not shown. Don't know what to do.
> >
> > Op 2026-04-27 om 23:32 schreef Brent:
> >> I just pulled down the latest updates and it seems to be ok for
> >> me. There was a schema and horde config update that came along with
> >> the update.
> >>
> >> - Upgrading horde/content (v3.0.0beta1 => v3.0.0beta2)
> >> - Upgrading horde/core (v3.0.0beta22 => v3.0.0beta23)
> >> - Upgrading horde/horde (v6.0.0beta15 => v6.0.0beta16)
> >> - Upgrading horde/kronolith (v5.0.0beta2 => v5.0.0beta3)
> >> - Upgrading horde/mail (v3.0.0beta1 => v3.0.0beta2)
> >> - Upgrading horde/nag (v5.0.0beta4 => v5.0.0beta5)
> >> - Upgrading horde/turba (v5.0.0beta5 => v5.0.0beta6)
> >>
> >> Fixed the properties view for Turba for me.
> >>
> >> brent
> >>
> >> Quoting Ruud Baart <r.j.baart at prompt.nl>:
> >>
> >>> hmm, now I can't login. I restarted nginx, I started a private
> >>> windows, tried another browser, but I get this error when I try
> >>> to login
> >>>
> >>> A fatal error has occurred
> >>>
> >>> Horde\Core\Assets\ResponsiveAssets::__construct(): Argument #1
> >>> ($registryState) must be of type Horde\Core\Config\RegistryState,
> >>> Horde_Registry given, called in
> >>> /aa/bb/cc/horde/vendor/horde/horde/login.php on line
> >>> 480
> >>>
> >>> Details have been logged for the administrator.
> >>>
> >>> Op 27-4-2026 om 22:18 schreef Ralf Lang:
> >>>> 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][1][1]:
> >>>>>>> addcslashes()
> >>>>>>> #1
> >>>>>>>
> /aa/bb/domain.ab/horde/vendor/horde/core/lib/Horde.php(941)[2][2][2]:
> >>>>>>> Horde\Core\Horde::popupJs()
> >>>>>>> #2
> >>>>>
> >>>>>
> /aa/bb/domain.ab/horde/vendor/horde/turba/lib/Form/EditAddressBook.php(154)[3][3][3]:
> >>>>>>> Horde::popupJs()
> >>>>>>> #3
> >>>>>
> >>>>>
> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php(36)[4][4][4]:
> >>>>>>> Turba_Form_EditAddressBook->__construct()
> >>>>>>> #4
> /aa/bb/domain.ab/horde/web/turba/addressbooks/edit.php(3)[5][5][5]:
> >>>>>>> require_once('...')
> >>>>>>> #5 {main}
> >>>>>>> [code:protected] => 0
> >>>>>>> [file:protected] =>
> >>>>>>> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php[6][6][6]
> >>>>>>> [line:protected] => 1318
> >>>>>>> [trace:Error:private] => Array
> >>>>>>> (
> >>>>>>> [0] => Array
> >>>>>>> (
> >>>>>>> [file] =>
> >>>>>>> /aa/bb/domain.ab/horde/vendor/horde/core/src/Horde.php[6][6][6]
> >>>>>>> [line] => 1318
> >>>>>>> [function] => addcslashes
> >>>>>>> )
> >>>>>>>
> >>>>>>> [1] => Array
> >>>>>>> (
> >>>>>>> [file] =>
> >>>>>>> /aa/bb/domain.ab/horde/vendor/horde/core/lib/Horde.php[7][7][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][8][8]
> >>>>>>> [line] => 154
> >>>>>>> [function] => popupJs
> >>>>>>> [class] => Horde
> >>>>>>> [type] => ::
> >>>>>>> )
> >>>>>>>
> >>>>>>> [3] => Array
> >>>>>>> (
> >>>>>>> [file] =>
> >>>>>>>
> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php[9][9][9]
> [line] =>
> >>>>>>> 36
> >>>>>>> [function] => __construct
> >>>>>>> [class] => Turba_Form_EditAddressBook
> >>>>>>> [type] => ->
> >>>>>>> )
> >>>>>>>
> >>>>>>> [4] => Array
> >>>>>>> (
> >>>>>>> [file] =>
> >>>>>>> /aa/bb/domain.ab/horde/web/turba/addressbooks/edit.php[10][10][10]
> >>>>>>> [line] => 3
> >>>>>>> [args] => Array
> >>>>>>> (
> >>>>>>> [0] =>
> >>>>>>>
> /aa/bb/domain.ab/horde/vendor/horde/turba/addressbooks/edit.php[9][9][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
> >>>
> >>> --
> >>> 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
>
>
>
> 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