Ecommerce Shopify WordPress Discussion

WordPress twenty twenty four woocommerce error: Deprecated: preg_replace(): Passing null to parameter #3 ($subject)

I am getting this error: Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in [...]/wp-includes/formatting.php on line 868 on my woocommerce shop page. Not any other pages, only the shop page. I am useing default wordpress theme (twenty twenty four). And already tested with disabeling every plugin, besides woocommerce. The issue is still there. Also the main navigation is gone on that page. And the head is instandly closed. So content from the head are all inside the body. Found out in the dev tools from my browser. Versions: Php: 8.1.25 Wordpress: 6.4.3 Woocommerce: 8.6.1 Disableing all plugins. Testing other wordpress default themes like twenty twenty three and twenty twenty two wont do anything. Also i tried setting line 868 from return preg_replace( $pattern, '$1', $text ); to return preg_replace( $pattern, '$1', $text ?? '' );. But that will just get rid of the error. But the navigation menu is still gone. And also on a new wordpress update it will be gone.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.