[horde] Errors trying to add child permissions
Torben Dannhauer
torben at dannhauer.info
Thu May 28 10:20:16 UTC 2026
Thanks for reporting, that helped.
Fix is pending: https://github.com/horde/Core/pull/130
hopefully soon merged.
Torben
Von: Ovi Cazacu <ovi.cazacu at yahoo.com>
Gesendet: Donnerstag, 28. Mai 2026 08:11
An: Torben Dannhauer <torben at dannhauer.info>
Betreff: Re: [horde] Errors trying to add child permissions
HI. The error occours when i try to add some permissions via administration gui.
Clicking on the add button triggers the error.
On Tuesday, May 26, 2026 at 04:51:03 PM GMT+3, Torben Dannhauer <torben at dannhauer.info <mailto:torben at dannhauer.info> > wrote:
Thanks for describing the error.
What have you tried to do which triggered the actions?
Your original intentions might ease my debugging efforts.
Von unterwegs gesendet
Sent from mobile
Am 25.05.2026 um 14:37 schrieb Ovi Cazacu <ovi.cazacu at yahoo.com <mailto:ovi.cazacu at yahoo.com> >:
A fatal error has occurred
Horde\Util\ArrayUtils::setElement(): Argument #1 ($array) must be of type array, null given, called in /srv/www/horde/vendor/horde/form/lib/Horde/Form.php on line 939
in /srv/www/horde/vendor/horde/util/src/ArrayUtils.php:1521. require_once() /srv/www/horde/web/horde/admin/perms/addchild.php:3
2. Horde_Core_Perms_Ui->validateAddForm() /srv/www/horde/vendor/horde/horde/admin/perms/addchild.php:45
3. Horde_Form->getInfo() /srv/www/horde/vendor/horde/core/lib/Horde/Core/Perms/Ui.php:248
4. Horde_Form->_getInfoFromVariables() /srv/www/horde/vendor/horde/form/lib/Horde/Form.php:902
5. Horde\Util\ArrayUtils::setElement() /srv/www/horde/vendor/horde/form/lib/Horde/Form.php:939
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] => Horde\Util\ArrayUtils::setElement(): Argument #1 ($array) must be of type array, null given, called in /srv/www/horde/vendor/horde/form/lib/Horde/Form.php on line 939
[string:Error:private] => TypeError: Horde\Util\ArrayUtils::setElement(): Argument #1 ($array) must be of type array, null given, called in /srv/www/horde/vendor/horde/form/lib/Horde/Form.php on line 939 and defined in /srv/www/horde/vendor/horde/util/src/ArrayUtils.php:152
Stack trace:
#0 /srv/www/horde/vendor/horde/form/lib/Horde/Form.php(939): Horde\Util\ArrayUtils::setElement()
#1 /srv/www/horde/vendor/horde/form/lib/Horde/Form.php(902): Horde_Form->_getInfoFromVariables()
#2 /srv/www/horde/vendor/horde/core/lib/Horde/Core/Perms/Ui.php(248): Horde_Form->getInfo()
#3 /srv/www/horde/vendor/horde/horde/admin/perms/addchild.php(45): Horde_Core_Perms_Ui->validateAddForm()
#4 /srv/www/horde/web/horde/admin/perms/addchild.php(3): require_once('...')
#5 {main}
[code:protected] => 0
[file:protected] => /srv/www/horde/vendor/horde/util/src/ArrayUtils.php
[line:protected] => 152
[trace:Error:private] => Array
(
[0] => Array
(
[file] => /srv/www/horde/vendor/horde/form/lib/Horde/Form.php
[line] => 939
[function] => setElement
[class] => Horde\Util\ArrayUtils
[type] => ::
)
[1] => Array
(
[file] => /srv/www/horde/vendor/horde/form/lib/Horde/Form.php
[line] => 902
[function] => _getInfoFromVariables
[class] => Horde_Form
[type] => ->
)
[2] => Array
(
[file] => /srv/www/horde/vendor/horde/core/lib/Horde/Core/Perms/Ui.php
[line] => 248
[function] => getInfo
[class] => Horde_Form
[type] => ->
)
[3] => Array
(
[file] => /srv/www/horde/vendor/horde/horde/admin/perms/addchild.php
[line] => 45
[function] => validateAddForm
[class] => Horde_Core_Perms_Ui
[type] => ->
)
[4] => Array
(
[file] => /srv/www/horde/web/horde/admin/perms/addchild.php
[line] => 3
[args] => Array
(
[0] => /srv/www/horde/vendor/horde/horde/admin/perms/addchild.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 <mailto:horde-unsubscribe at lists.horde.org>
More information about the horde
mailing list