Title: Deprecated message in woo 10.5.0
Last modified: January 21, 2026

---

# Deprecated message in woo 10.5.0

 *  Resolved [BackuPs](https://wordpress.org/support/users/neo2k23/)
 * (@neo2k23)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/)
 * After turning on wp debug mode my admin area has these recurring messages after
   updating to woocommerce 10.5.0 beta 1 and wordpress 7.0 **version 7.0-alpha-61503**.
   
   Warning: Attempt to read property “content” on null in /var/public/wp-content/
   plugins/woocommerce/src/Internal/Utilities/BlocksUtil.php on line 68
 * Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string
   is deprecated in /var/public/wp-includes/class-wp-block-parser.php on line 247
 * Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is
   deprecated in /var/public/wp-includes/class-wp-block-parser.php on line 324
 * Deprecated: Function FeaturesUtil::feature_is_enabled(‘marketplace’) is deprecated
   since version 10.5.0 with no alternative available. in /var/public/wp-includes/
   functions.php on line 6131
   The moment i turn off woocommerce or switch back to
   version woocommerce 10.4.3 they are all gone. And yes it also happens in a default
   wp theme and or storefront themePlease report to the developers team to have 
   them fixed.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/#post-18793538)
 * Hi there!
 * Thank you for bringing this to our attention. I can see that this error message
 * **`Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type 
   string is deprecated in /var/public/wp-includes/`**
 * — has already been reported, although in a different file, in this GitHub issue:
   
   [https://github.com/woocommerce/woocommerce/issues/52689](https://github.com/woocommerce/woocommerce/issues/52689)
 * However, I’m not able to find any existing reports for the other errors you mentioned.
   I’d recommend adding your findings as a comment to the same GitHub thread so 
   our developers can review the additional errors and guide you accordingly:
 * [https://github.com/woocommerce/woocommerce/issues/52689](https://github.com/woocommerce/woocommerce/issues/52689)
 * Thanks for taking the time to report this it really helps the team investigate
   and improve upcoming releases.
 *  Plugin Support [thelmachido a11n](https://wordpress.org/support/users/thelmachido/)
 * (@thelmachido)
 * [2 months ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/#post-18805616)
 * It’s been a while since we heard back from you for this reason we are closing
   this thread. 
 * If WooCommerce has been useful for your store and you appreciate the support 
   you’ve received, we’d truly appreciate it if you could leave us a quick review
   here: 
 *  [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)
 * Feel free to open a new forum topic if you run into any other problem. 
 *  Thread Starter [BackuPs](https://wordpress.org/support/users/neo2k23/)
 * (@neo2k23)
 * [2 months ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/#post-18806210)
 * [@thelmachido](https://wordpress.org/support/users/thelmachido/) i am sorry for
   not getting back to you. I must have missed the first reply from you guys. The
   issues are gone with the updated beta and rc1 releases of woocommerce. Thank 
   you for the feedback.
 *  [Sai (woo-hc)](https://wordpress.org/support/users/saivutukuru/)
 * (@saivutukuru)
 * [2 months ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/#post-18806225)
 * Hi [@neo2k23](https://wordpress.org/support/users/neo2k23/),
 * Thanks for the update. glad to hear the issue is resolved in the newer beta/RC
   builds.
 * If WooCommerce has been helpful for your store and you appreciate the support
   here, we’d really appreciate it if you could leave us a quick review:
   [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)
 * Feel free to open a new topic if you run into anything else.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-message-in-woo-10-5-0%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Sai (woo-hc)](https://wordpress.org/support/users/saivutukuru/)
 * Last activity: [2 months ago](https://wordpress.org/support/topic/deprecated-message-in-woo-10-5-0/#post-18806225)
 * Status: resolved