Skip to content

Session bug in IMP #101

Description

@mborgelt

Hi @ralflang .
Sometimes i got IMP is marked as authenticated, but no credentials can be found in session. in IMP
The following can be found in horde.log

HORDE 2026-07-30T11:09:42+00:00 warning: [imp] PHP ERROR: foreach() argument must be of type array|object, null given [pid 2925938 on line 273 of "/srv/horde/vendor/horde/imp/lib/Mailbox/SessionCache.php"]
fig/event-dispatcher-util    1.4.0      Useful utility classes and traits for implementing the PSR events standard
horde/activesync             3.2.0      ActiveSync server library
horde/alarm                  3.0.0      Alarm library
horde/argv                   3.0.0      Command-line argument parsing library
horde/auth                   3.0.0      Authentication and user management library
horde/autoloader             3.0.0      Autoloader library
horde/browser                3.0.0      Browser detection library
horde/cache                  3.0.0      Caching library
horde/cli                    3.0.0      Command line interface library
horde/cli_modular            3.0.0      Modular command line interface library
horde/composer               1.0.0      Handle composer.json files and composer directory structures without composer dependency
horde/compress               3.0.0      Compression library
horde/compress_fast          2.0.0      Fast compression library
horde/constraint             3.0.0      Modern constraint library with PHP 8.1+ type safety
horde/content                3.0.0      Tagging application
horde/controller             3.0.0      Controller library
horde/core                   3.3.0      Core Horde Framework library
horde/crypt                  3.0.0      Cryptography library
horde/crypt_blowfish         2.0.0      Blowfish encryption library
horde/css_parser             2.0.0      CSS parser library
horde/cssminify              2.0.0      CSS minification library
horde/data                   3.0.0      Data import and export library
horde/date                   3.0.0      Date library
horde/date_parser            3.0.0      Date parser library
horde/dav                    2.0.0      WebDAV, CalDAV, and CardDAV library
horde/db                     3.0.1      Database abstraction library
horde/editor                 3.0.0      WYSIWYG editor library
horde/eventdispatcher        1.0.0      A simple PSR-14 EventDispatcher / ListenerProvider system for Horde
horde/exception              3.0.1      Exception handler library
horde/form                   3.1.2      Form library
horde/group                  3.0.0      User groups library supporting many backend types.
horde/hashtable              2.0.1      Hash table client library
horde/history                3.0.0      History tracking library
horde/horde                  6.2.1      Horde base application
horde/horde-installer-plugin 3.6.0      Horde Installer Plugin for Composer
horde/hordectl               1.1.0      Scenario deployer library
horde/hordeymlfile           1.0.0      Handle .horde.yml file and changelog.yml file
horde/http                   3.1.0      HTTP client library
horde/http_server            1.0.1      HTTP Request Handling Library adhering to PSR-15 standard. This evolved out of horde/contro...
horde/icalendar              3.0.0      iCalendar and vCard library
horde/identity               1.0.0      Short headline for Identity
horde/idna                   2.0.0      IDNA normalization library
horde/image                  3.0.0      Image library
horde/imap_client            3.0.1      IMAP client library
horde/imp                    7.1.1      Webmail application
horde/ingo                   4.0.1      Email filter rules manager application
horde/injector               3.0.0      Dependency injection container library
horde/itip                   3.0.0      iTip invitation response library
horde/javascriptminify       2.0.0      JavaScript minification library
horde/jwt                    1.0.0      Horde RFC 7519 JSON Web Token (JWT) Library
horde/kronolith              5.0.3      Calendar and scheduling application
horde/listheaders            2.0.0      List headers parsing library
horde/lock                   3.0.0      Resource locking library
horde/log                    3.0.1      Logging library
horde/logintasks             3.0.0      Login tasks library
horde/mail                   3.0.0      Mail library
horde/mail_autoconfig        2.0.0      Mail server autoconfiguration library
horde/managesieve            2.0.0      ManageSieve client library
horde/mapi                   2.0.1      MAPI utility library
horde/memcache               3.0.0      Memcache client library
horde/mime                   3.0.0      MIME library
horde/mime_viewer            3.0.0      MIME viewer library
horde/mnemo                  5.0.0      Notes application
horde/nag                    5.0.0      Task list application
horde/nls                    3.0.0      Native language support library
horde/notification           3.0.0      Notification library implementing subject-observer pattern
horde/oauth                  4.0.0      OAuth 1.0a, OAuth 2.0 and OpenID Connect library
horde/pack                   2.0.1      Data packing library
horde/perms                  3.1.0      Permissions library
horde/phpconfigfile          0.0.1      Read and write config files as PHP Code
horde/prefs                  3.0.1      User preferences library
horde/rdo                    3.0.0      ORM (object relational-mapping) library
horde/routes                 3.0.1      URL routing/mapping library
horde/rpc                    3.1.0      RPC library
horde/secret                 3.0.0      Secret key encryption library with authenticated encryption
horde/serialize              3.0.0      Data serialization library
horde/service_weather        3.0.0RC1   Weather service library
horde/sessionhandler         3.0.0      Session handler library
horde/share                  3.0.0      Resource sharing library
horde/smtp                   2.0.0      SMTP and LMTP client library
horde/socket_client          3.0.0      Network socket client library
horde/spellchecker           3.0.0      Spellchecking library
horde/stream                 2.0.0      PHP streams library
horde/stream_filter          3.0.0      PHP stream filters library
horde/stream_wrapper         3.0.0      PHP stream wrappers library
horde/support                3.0.0      Supporting library
horde/template               3.0.0      Template library (deprecated)
horde/test                   3.0.0      Unit testing library
horde/text_diff              3.0.0      Text diff generation and rendering library
horde/text_filter            3.0.0      Text filtering and conversion library
horde/text_flowed            3.0.0      Flowed text library
horde/timeobjects            3.0.0beta4 Time-based objects application
horde/timezone               2.0.0      Timezone library
horde/token                  3.0.0      Tokens library
horde/translation            3.0.0      Translation library
horde/tree                   3.0.0      Tree rendering library
horde/turba                  5.0.2      Address book application
horde/url                    3.0.0      URL library
horde/util                   3.0.1      Utility library
horde/version                1.0.0      Handle Semantic Version 2.0.0 format and similar semantic version formats
horde/vfs                    3.0.1      Virtual file system library
horde/view                   3.0.0      View pattern library
horde/xml_element            3.0.0      XML element library
horde/yaml                   3.0.1      Roundtrip-capable YAML parsing and writing library
mikepultz/netdns2            2.0.8      PHP DNS Resolver and Updater Library
pear/console_color2          0.1.2      This Class allows you to easily use ANSI console colors in your application.
pear/console_table           1.3.1      Library that makes it easy to build console style tables.
php81_bc/strftime            0.7.6      Locale-formatted strftime using IntlDateFormatter (PHP 8.1 compatible)
psr/container                2.0.2      Common Container Interface (PHP FIG PSR-11)
psr/event-dispatcher         1.0.0      Standard interfaces for event handling.
psr/http-client              1.0.3      Common interface for HTTP clients
psr/http-factory             1.1.0      PSR-17: Common interfaces for PSR-7 HTTP message factories
psr/http-message             2.0        Common interface for HTTP messages
psr/http-server-handler      1.0.2      Common interface for HTTP server-side request handler
psr/http-server-middleware   1.0.2      Common interface for HTTP server-side middleware
psr/log                      3.0.2      Common interface for logging libraries
psr/simple-cache             3.0.0      Common interfaces for simple caching
sabberworm/php-css-parser    9.4.0      Parser for CSS Files written in PHP
sabre/dav                    4.7.1      WebDAV Framework for PHP
sabre/event                  5.1.9      sabre/event is a library for lightweight event-based programming
sabre/http                   5.1.13     The sabre/http library provides utilities for dealing with http requests and responses. 
sabre/uri                    2.3.4      Functions for making sense out of URIs.
sabre/vobject                4.6.1      The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard o...
sabre/xml                    2.2.11     sabre/xml is an XML library that you may not hate.
thecodingmachine/safe        3.4.0      PHP core functions that throw exceptions instead of returning FALSE on error
tinymce/tinymce              8.8.2      Web based JavaScript HTML WYSIWYG editor control.

Regards Michael.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions