• Resolved generosus

    (@generosus)


    *** For Reference Only ***

    When running a file scan with PHP 8.1.4 activated, we’re getting several deprecation notices at the end of the file scan. (Note: The file scan runs well with no other issues)

    One of the deprecation notices we get is:

    [APR 09 09:07:49] Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in ...

    Just wanted everyone to know the above is normal (i.e., no impact to Wordfence’s functionality) and should be fixed as WordPress’ code is updated to be fully compatible with PHP 8.1.X.

    Cheerio!

  • The topic ‘Deprecation Notices When Using PHP 8.1.4’ is closed to new replies.