Skip to content

PHP 8.5: Using null as an array offset is deprecated #1089

@KaiRo-at

Description

@KaiRo-at

As I'm using a rolling Linux distro on my development machines, I just upgraded to PHP 8.5 there, and I'm seeing this error message with v1.14.2 (latest release):

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /.../vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php on line 519

Just guessing from the message, I guess the fix is probably relatively easy.

So far, I haven't seen any other issue with PHP 8.5 but I only have utilized the main login/auth flow of my auth server.

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