[horde] Also new error after update.

Ovi Cazacu ovi.cazacu at yahoo.com
Mon Mar 30 09:25:27 UTC 2026


A fatal error has occurred
 
setlocale(): Argument #2 ($locales) must be of type array|string|null, int given
 in /srv/www/horde/vendor/horde/util/src/HordeString.php:265 1. require_once() /srv/www/horde/web/horde/services/portal/index.php:3
 2. Horde_PageOutput->header() /srv/www/horde/vendor/horde/horde/services/portal/index.php:45
 3. Horde_View_Base->render() /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php:753
 4. Horde_View->_run() /srv/www/horde/vendor/horde/view/lib/Horde/View/Base.php:253
 5. include() /srv/www/horde/vendor/horde/view/lib/Horde/View.php:32
 6. Horde_PageOutput->includeStylesheetFiles() /srv/www/horde/vendor/horde/horde/templates/common/header.html.php:8
 7. Horde_Themes_Css->getStylesheetUrls() /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php:496
 8. Horde_Themes_Css_Cache_File->process() /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css.php:105
 9. Horde\Injector\Injector->get() /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css/Cache/File.php:58
10. Horde\Injector\Injector->createInstance() /srv/www/horde/vendor/horde/injector/src/Injector.php:364
11. Horde\Injector\Binder\Factory->create() /srv/www/horde/vendor/horde/injector/src/Injector.php:311
12. Horde\Core\Factory\LoggerFactory->create() /srv/www/horde/vendor/horde/injector/src/Binder/Factory.php:125
13. Horde\Log\LogLevels::initWithCanonicalLevels() /srv/www/horde/vendor/horde/core/src/Factory/LoggerFactory.php:65
14. Horde\Log\LogLevel->__construct() /srv/www/horde/vendor/horde/log/src/LogLevels.php:51
15. Horde\Util\HordeString::lower() /srv/www/horde/vendor/horde/log/src/LogLevel.php:38
16. setlocale() /srv/www/horde/vendor/horde/util/src/HordeString.php:265


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] => setlocale(): Argument #2 ($locales) must be of type array|string|null, int given
    [string:Error:private] => TypeError: setlocale(): Argument #2 ($locales) must be of type array|string|null, int given in /srv/www/horde/vendor/horde/util/src/HordeString.php:265
Stack trace:
#0 /srv/www/horde/vendor/horde/util/src/HordeString.php(265): setlocale()
#1 /srv/www/horde/vendor/horde/log/src/LogLevel.php(38): Horde\Util\HordeString::lower()
#2 /srv/www/horde/vendor/horde/log/src/LogLevels.php(51): Horde\Log\LogLevel->__construct()
#3 /srv/www/horde/vendor/horde/core/src/Factory/LoggerFactory.php(65): Horde\Log\LogLevels::initWithCanonicalLevels()
#4 /srv/www/horde/vendor/horde/injector/src/Binder/Factory.php(125): Horde\Core\Factory\LoggerFactory->create()
#5 /srv/www/horde/vendor/horde/injector/src/Injector.php(311): Horde\Injector\Binder\Factory->create()
#6 /srv/www/horde/vendor/horde/injector/src/Injector.php(364): Horde\Injector\Injector->createInstance()
#7 /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css/Cache/File.php(58): Horde\Injector\Injector->get()
#8 /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css.php(105): Horde_Themes_Css_Cache_File->process()
#9 /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php(496): Horde_Themes_Css->getStylesheetUrls()
#10 /srv/www/horde/vendor/horde/horde/templates/common/header.html.php(8): Horde_PageOutput->includeStylesheetFiles()
#11 /srv/www/horde/vendor/horde/view/lib/Horde/View.php(32): include('...')
#12 /srv/www/horde/vendor/horde/view/lib/Horde/View/Base.php(253): Horde_View->_run()
#13 /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php(753): Horde_View_Base->render()
#14 /srv/www/horde/vendor/horde/horde/services/portal/index.php(45): Horde_PageOutput->header()
#15 /srv/www/horde/web/horde/services/portal/index.php(3): require_once('...')
#16 {main}
    [code:protected] => 0
    [file:protected] => /srv/www/horde/vendor/horde/util/src/HordeString.php
    [line:protected] => 265
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/util/src/HordeString.php
                    [line] => 265
                    [function] => setlocale
                )

            [1] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/log/src/LogLevel.php
                    [line] => 38
                    [function] => lower
                    [class] => Horde\Util\HordeString
                    [type] => ::
                )

            [2] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/log/src/LogLevels.php
                    [line] => 51
                    [function] => __construct
                    [class] => Horde\Log\LogLevel
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/core/src/Factory/LoggerFactory.php
                    [line] => 65
                    [function] => initWithCanonicalLevels
                    [class] => Horde\Log\LogLevels
                    [type] => ::
                )

            [4] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/injector/src/Binder/Factory.php
                    [line] => 125
                    [function] => create
                    [class] => Horde\Core\Factory\LoggerFactory
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/injector/src/Injector.php
                    [line] => 311
                    [function] => create
                    [class] => Horde\Injector\Binder\Factory
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/injector/src/Injector.php
                    [line] => 364
                    [function] => createInstance
                    [class] => Horde\Injector\Injector
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css/Cache/File.php
                    [line] => 58
                    [function] => get
                    [class] => Horde\Injector\Injector
                    [type] => ->
                )

            [8] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/core/lib/Horde/Themes/Css.php
                    [line] => 105
                    [function] => process
                    [class] => Horde_Themes_Css_Cache_File
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php
                    [line] => 496
                    [function] => getStylesheetUrls
                    [class] => Horde_Themes_Css
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/horde/templates/common/header.html.php
                    [line] => 8
                    [function] => includeStylesheetFiles
                    [class] => Horde_PageOutput
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/view/lib/Horde/View.php
                    [line] => 32
                    [args] => Array
                        (
                            [0] => /srv/www/horde/vendor/horde/horde/templates/common/header.html.php
                        )

                    [function] => include
                )

            [12] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/view/lib/Horde/View/Base.php
                    [line] => 253
                    [function] => _run
                    [class] => Horde_View
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/core/lib/Horde/PageOutput.php
                    [line] => 753
                    [function] => render
                    [class] => Horde_View_Base
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /srv/www/horde/vendor/horde/horde/services/portal/index.php
                    [line] => 45
                    [function] => header
                    [class] => Horde_PageOutput
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /srv/www/horde/web/horde/services/portal/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /srv/www/horde/vendor/horde/horde/services/portal/index.php
                        )

                    [function] => require_once
                )

        )

    [previous:Error:private] => 
)



More information about the horde mailing list