Title: Deprecated Code
Last modified: March 30, 2024

---

# Deprecated Code

 *  Resolved [joevansteen](https://wordpress.org/support/users/joevansteen/)
 * (@joevansteen)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/)
 * 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](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/#post-17541787)
 * 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](https://wordpress.org/support/users/psykonevro/)
 * (@psykonevro)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/#post-17543931)
 * Hi [@bcrodua](https://wordpress.org/support/users/bcrodua/)
    Thanks for your 
   work, but this is really a strange response. Will you address PHP8.3 compatibility
   issues? This is what [@joevansteen](https://wordpress.org/support/users/joevansteen/)
   and I, even if our website is not gonna crash right way. Cheers,
 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/#post-17549348)
 * 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](https://wordpress.org/support/users/joevansteen/)
 * (@joevansteen)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/#post-17549824)
 * 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.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [deprecated code](https://wordpress.org/support/topic-tag/deprecated-code/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)

 * 5 replies
 * 4 participants
 * Last reply from: [joevansteen](https://wordpress.org/support/users/joevansteen/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-34/#post-17549824)
 * Status: resolved