Support » Plugin: BackWPup - WordPress Backup Plugin » I get this error: OBSOLETE: Return type of Requests…

  • Resolved alexeytrusovru

    (@alexeytrusovru)


    Hey! Recently, when creating a backup, I get this error. What is it, and how can I fix it? The site is powered by WordPress PHP 8.1. The backup is created correctly, without errors. Error messages are shown during creation.

    OBSOLETE: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice.

    OBSOLETE: 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Cuong DC

    (@duongcuong96)

    Helo @alexeytrusovru
    I think there is a plugin conflict there, could you please help me by installing https://wordpress.org/plugins/health-check/
    Then enable troubleshooting mode, in this mode, all plugins are disabled but just for you, all other users will not be affected, after that, enable only BackWPUp then run the job again? In case it works, there must be plugin/theme conflict.
    Thank you so much!

    Thread Starter alexeytrusovru

    (@alexeytrusovru)

    Hello. I did everything as you asked. I have the main Impreza theme on PHP 8.1 getting the same errors. I switched to the Twenty Twenty-Two theme with PHP 8.1 getting the same errors. Only the BackWPup plugin is included. As soon as I switch to PHP 8.0.12 there are no errors.

    Plugin Support Cuong DC

    (@duongcuong96)

    Hello @alexeytrusovru
    actually, it’s not an error, just warnings showing that PHP 8.1 marks it as OBSOLETE (out of date).
    I will contact our devs about this.
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I get this error: OBSOLETE: Return type of Requests…’ is closed to new replies.