• Resolved steerage250

    (@steerage250)


    While running Backwpup, I get the following error repeatedly – immediately followed by “Token has expired; new token has been obtained”. The job is slowly proceeding though.

    “DEPRECATED: Return type of Symfony\Component\OptionsResolver\OptionsResolver::offsetExists($option) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support happyAnt

    (@duongcuong96)

    @steerage250
    Thank you for the report, since BackWPUp also have to support old, deprecated PHP version like 5.6, and because of that, you see a deprecated warning on modern PHP version like 8.1, in the future version, BackWPUp will drop PHP 5.6 support and these warnings will not happens anymore, for now you can just ignore those warnings, it will not affects your backup job ^^
    I hope my answer could help, please let me know in case you need any further assistance!
    Thank you!

    Then why not creating a code that checks the PHP version and if it is newer – simply don’t add these bloating messages to the backup log?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated warning’ is closed to new replies.