[horde] Argument #1 ($value) must be of type Countable|array

Ralf Lang ralf.lang at gmail.com
Mon Nov 16 17:39:24 UTC 2026


Hi simon, what exactly do you see in the logs after the update?

Simon B <simon.buongiorno at gmail.com> schrieb am Mo., 16. Nov. 2026, 15:48:

>
> On Fri, 13 Nov 2026 at 20:36, Ralf Lang <ralf.lang at gmail.com> wrote:
> >
> > Hello Simon,
> >
> > I suggest safety-first.
> > - Make a full-tree backup first: cp -ar /path/to/horde/ /path/to/backup/
> > - snapshot your database
> > - If avaible, do it on a pilot/qa instance first.
> >
>
> Hi Ralf,
>
> the pilot/qa instance did not go well...
>
> root at jonty:/usr/share/2024-composer-horde6$ cd
> /usr/share/2024-composer-horde6; sudo -u www-data composer update ;sudo -u
> www-data composer update horde/bundle
> Loading composer repositories with package information
> Updating dependencies
> Lock file operations: 0 installs, 3 updates, 0 removals
>   - Upgrading horde/hordeymlfile (v1.0.0 => v1.0.1)
>   - Upgrading horde/version (v1.0.0 => v1.1.0)
>   - Upgrading horde/yaml (v3.0.4 => v3.0.5)
> Writing lock file
> Installing dependencies from lock file (including require-dev)
> Package operations: 0 installs, 3 updates, 0 removals
>   - Downloading horde/yaml (v3.0.5)
>   - Downloading horde/version (v1.1.0)
>   - Downloading horde/hordeymlfile (v1.0.1)
>   - Upgrading horde/yaml (v3.0.4 => v3.0.5): Extracting archive
>   - Upgrading horde/version (v1.0.0 => v1.1.0): Extracting archive
>   - Upgrading horde/hordeymlfile (v1.0.0 => v1.0.1): Extracting archive
> Package pear/console_table is abandoned, you should avoid using it. No
> replacement was suggested.
> Generating autoload files
> Applying /presets for absent files in /var/config
> Looking for registry snippets from apps
> Configuration mode: symlink
> Writing app configs to /var/config dir
> Linking app configs to /web Dir
> Linking javascript tree to /web/js
> Linking themes tree to /web/themes
>     Skipped installation of bin bin/imp-federated-mode-test for package
> horde/imp: file not found in package
> 3 packages you are using are looking for funding.
> Use the `composer fund` command to find out more!
> No security vulnerability advisories found
> Loading composer repositories with package information
> Package "horde/bundle" listed for update is not locked.
> Updating dependencies
> Nothing to modify in lock file
> Installing dependencies from lock file (including require-dev)
> Nothing to install, update or remove
> Package pear/console_table is abandoned, you should avoid using it. No
> replacement was suggested.
> Generating autoload files
> Applying /presets for absent files in /var/config
> Looking for registry snippets from apps
> Configuration mode: symlink
> Writing app configs to /var/config dir
> Linking app configs to /web Dir
> Linking javascript tree to /web/js
> Linking themes tree to /web/themes
>     Skipped installation of bin bin/imp-federated-mode-test for package
> horde/imp: file not found in package
> 3 packages you are using are looking for funding.
> Use the `composer fund` command to find out more!
> No security vulnerability advisories found
>
>
> Caveat - this is a box running on a 192.168.0. network under my desk and I
> cannot currently get Apache to serve me the login page - a fact I believe
> has little to do with the above...
>
> Regards
>
> Simon
>
>
>
>
> >
> > > composer update --prefer-stable
> > > vendor/bin/horde-db-migrate
> >
> > These are good.
> >
> > > systemctl restart apache2
> >
> > This one depends if you use php-fpm or mod_php with your apache.
> >
> > On Fri, Nov 13, 2026 at 4:52 PM Simon B <simon.buongiorno at gmail.com>
> wrote:
> >>
> >> HI
> >>
> >> I am reluctant to try the upgrade even though I receive this error
> >> with increasing frequency...
> >>
> >>
> >> 80661759 2026-11-13T15:39:18+00:00 EMERG: HORDE-BETA [imp] TypeError:
> >> count(): Argument #1 ($value) must be of type Countable|array, bool
> >> given in
> /usr/share/2024-composer-horde6/vendor/horde/text_filter/lib/Horde/Text/Filter/Dimsignature.php:30
> >> 80661760 Stack trace:
> >> 80661761 #0
> /usr/share/2024-composer-horde6/vendor/horde/text_filter/lib/Horde/Text/Filter.php(108):
> >> Horde_Text_Filter_Dimsignature->postProcess()
> >> 80661762 #1
> /usr/share/2024-composer-horde6/vendor/horde/core/lib/Horde/Core/Factory/TextFilter.php(70):
> >> Horde_Text_Filter::filter()
> >> 80661763 #2
> /usr/share/2024-composer-horde6/vendor/horde/mime_viewer/lib/Horde/Mime/Viewer/Base.php(438):
> >> Horde_Core_Factory_TextFilter->filter()
> >> 80661764 #3
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Mime/Viewer/Plain.php(159):
> >> Horde_Mime_Viewer_Base->_textFilter()
> >> 80661765 #4
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Mime/Viewer/Plain.php(49):
> >> IMP_Mime_Viewer_Plain->_impRender()
> >> 80661766 #5
> /usr/share/2024-composer-horde6/vendor/horde/mime_viewer/lib/Horde/Mime/Viewer/Base.php(156):
> >> IMP_Mime_Viewer_Plain->_renderInline()
> >> 80661767 #6
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Contents.php(660):
> >> Horde_Mime_Viewer_Base->render()
> >> 80661768 #7
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Contents/Message.php(594):
> >> IMP_Contents->renderMIMEPart()
> >> 80661769 #8
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Contents/Message.php(335):
> >> IMP_Contents_Message->_getInlineOutput()
> >> 80661770 #9
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Contents/Message.php(175):
> >> IMP_Contents_Message->getInlineOutput()
> >> 80661771 #10
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Ajax/Queue.php(461):
> >> IMP_Contents_Message->showMessage()
> >> 80661772 #11
> /usr/share/2024-composer-horde6/vendor/horde/imp/lib/Ajax/Application/Handler/Common.php(701):
> >> IMP_Ajax_Queue->message()
> >> 80661773 #12
> /usr/share/2024-composer-horde6/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(175):
> >> IMP_Ajax_Application_Handler_Common->showMessage()
> >> 80661774 #13
> /usr/share/2024-composer-horde6/vendor/horde/horde/services/ajax.php(61):
> >> Horde_Core_Ajax_Application->doAction()
> >> 80661775 #14 {main} [pid 1521443 on line 74 of
> >>
> "/usr/share/2024-composer-horde6/vendor/horde/core/lib/Horde/ErrorHandler.php"]
> >>
> >> I know I should upgrade..  Is this the recommended sequence?
> >>
> >> > composer update --prefer-stable
> >> > vendor/bin/horde-db-migrate
> >> > systemctl restart apache2
> >>
> >> Thanks.
> >>
> >> Simon
> >> --
> >> 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