• Resolved joevansteen

    (@joevansteen)


    I am currently running PHP8.3 and receiving the following error message:

    PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in …\wordpress\wp-content\plugins\updraftplus\backup.php on line 2742

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

    (@bcrodua)

    Hi,

    Thank you for providing this information, these deprecation notices should not affect the functionality of UpdraftPlus and your ability to make backups. 

    Best Wishes,
    Bryle

    JCV

    (@psykonevro)

    Hi @bcrodua
    Thanks for your work, but this is really a strange response.
    Will you address PHP8.3 compatibility issues? This is what @joevansteen and I, even if our website is not gonna crash right way.
    Cheers,

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    These deprecations will not come into affect for quite a while. Our development team will have updated the code before they com into affect. Just keep your plugin updated and this will all be done automatically.

    Thread Starter joevansteen

    (@joevansteen)

    Thanks! I mainly wanted to ensure it was on your list. It looks to be a simple fix. You have a check for null a few lines away, along with a check for empty, but don’t take any action to change the null to empty which would eliminate the message. I prefer code which doesn’t generate error (or warning) messages, so will look forward to your update.

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