• Resolved Meher Bala

    (@meher)


    Hi support,

    When I am running a backup manually I am getting the below error

    PHP event: code E_DEPRECATED: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated (line 111, /plugins/updraftplus/includes/Google/Http/Request.php)

    But it disappears once the backup is completed.

    Is there a way to resolve this?

    Thanks.

    Best Wishes,
    Meher

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Do you have other plugins that uses Google Drive?
    May I know what PHP version are you using too?

    Thanks,
    Bryle

    Thread Starter Meher Bala

    (@meher)

    Thanks, for the reply @bcrodua.

    I don’t have a Google Drive plugin. Here are the 12 plugins I have on the site:
    1) Disable Gutenberg
    2) Elementor
    3) Elementor Pro
    4) Font Awesome
    5) Forminator
    6) Hosting Company’s plugin
    7) Loginizer
    8) Make Column Clickable Elementor
    9) Permalink Manager Lite
    10) Site Kit by Google
    11) UpdraftPlus – Backup/Restore
    12) Yoast SEO

    —-

    PHP version: 8.1.5

    Any help will be appreciated to fix this issue.

    Thanks.

    Best Wishes,
    Meher

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Can you set your PHP version to 8.0?

    Thanks,
    Bryle

    Thread Starter Meher Bala

    (@meher)

    Hi Bryle,

    I changed the PHP version to 8.0 and tried again. It worked.

    How do I keep the version to 8.1.5 only?

    Best Wishes,
    Meher

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    I will check with our developers about the issue in PHP 8.1.
    Please keep PHP 8.0 for now.

    Thanks,
    Bryle

    Thread Starter Meher Bala

    (@meher)

    Okay, will keep it 8.0 for now.

    Please update me with any information you get from the developers.

    Thanks, @bryle.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    This code has been tweaked in our development version and the notice should not occur in future releases.

    Please note that a deprecation notice is not an error – it is merely advice for developers on how to remain compatible with as-yet future PHP releases; it does not indicate that anything is not working on the current release.

    Thank you,
    David

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘code E_DEPRECATED: str_replace()’ is closed to new replies.