Skip to content

Undefined array key "fetch_headers" (PHP8 compatibility?) #26

@cricalix

Description

@cricalix

Roundcube: 1.5.0 (debian package)
PHP: 8.1

With the plugin enabled, the roundcube error logs get gently spammed with PHP warnings about the use of fetch_headers in the storage_init hook.

The fix is pretty simple, and I'll toss up a PR that has worked for me (and follows the pattern I've seen in other plugins that do the same thing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions