Skip to content

PHP 8.5 compatibility: deprecation warnings #1792

Description

@Abdullah-Sarfraz-Ali

Deprecation notices observed

dependencies shipped inside LoginPress Pro's Social Login add-on. They contain the bulk of the deprecation notices — chiefly implicitly-nullable parameter types (Type $x = null, deprecated since PHP 8.4), plus curl_close(), __wakeup(), $http_response_header, and a (boolean) cast. They still execute on 8.5 but are the main source of noise.

Steps to reproduce

  1. Load the library on PHP 8.5
  2. [ Do OAuth and verify ]

Expected

No PHP 8.5 deprecation notices when using supported library versions.

Actual

Deprecation noise on PHP 8.5 (still works, but logs are flooded).

Context

Bundled in WordPress plugin LoginPress Pro for social login .
Happy to test a patch or pre-release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions