Writy.
No Result
View All Result
  • Home
  • Business & Finance
    • Global Markets & Economy
    • Entrepreneurship & Startups
    • Investment & Stocks
    • Corporate Strategy
    • Business Growth & Leadership
  • Health & Science
    • Digital Health & Telemedicine
    • Biotechnology & Pharma
    • Wellbeing & Lifestyl
    • Scientific Research & Innovation
  • Marketing & Growth
    • SEO & Digital Marketing
    • Branding & Public Relations
    • Social Media & Content Strategy
    • Advertising & Paid Media
  • Policy & Economy
    • Government Regulations & Policies
    • Economic Development
    • Global Trade & Geopolitics
  • Sustainability & Future Trends
    • Renewable Energy & Green Tech
    • Climate Change & Environmental Policies
    • Sustainable Business Practices
    • Future of Work & Smart Cities
  • Tech & AI
    • Artificial Intelligence & Automation
    • Software Development & Engineering
    • Cybersecurity & Data Privacy
    • Blockchain & Web3
    • Big Data & Cloud Computing
  • Home
  • Business & Finance
    • Global Markets & Economy
    • Entrepreneurship & Startups
    • Investment & Stocks
    • Corporate Strategy
    • Business Growth & Leadership
  • Health & Science
    • Digital Health & Telemedicine
    • Biotechnology & Pharma
    • Wellbeing & Lifestyl
    • Scientific Research & Innovation
  • Marketing & Growth
    • SEO & Digital Marketing
    • Branding & Public Relations
    • Social Media & Content Strategy
    • Advertising & Paid Media
  • Policy & Economy
    • Government Regulations & Policies
    • Economic Development
    • Global Trade & Geopolitics
  • Sustainability & Future Trends
    • Renewable Energy & Green Tech
    • Climate Change & Environmental Policies
    • Sustainable Business Practices
    • Future of Work & Smart Cities
  • Tech & AI
    • Artificial Intelligence & Automation
    • Software Development & Engineering
    • Cybersecurity & Data Privacy
    • Blockchain & Web3
    • Big Data & Cloud Computing
No Result
View All Result
WordPress WooCommerce Bug Inflicting Websites To Crash

WordPress WooCommerce Bug Inflicting Websites To Crash

Theautonewspaper.com by Theautonewspaper.com
7 May 2025
in SEO & Digital Marketing
0
Share on FacebookShare on Twitter

You might also like

15 website positioning suggestions for 2025 and past • Yoast

15 website positioning suggestions for 2025 and past • Yoast

5 May 2025
Actionable AI — Whiteboard Friday

Actionable AI — Whiteboard Friday

4 May 2025


A WordPress bug is inflicting WooCommerce websites to show a deadly error, crashing ecommerce websites. The issue originates from a single line of code. A workaround has been created. The WooCommerce staff is conscious of the problem and is engaged on issuing a everlasting repair within the type of a patch.

WooCommerce Websites Crashing

Somebody posted concerning the error on the WordPress.org help boards and others with the identical drawback replied that they had been experiencing the identical factor. Most of these responding reported that that they had not not too long ago achieved something to their websites, that that they had crashed swiftly.

The one who initially reported the bug provided a workaround for getting web sites again up and working, an edit of a single line of code within the BlockPatterns.php file, which is a WooCommerce file.

The file is situated right here:

wp-content/plugins/woocommerce/src/Blocks/BlockPatterns.php

Others reported receiving the identical deadly error message:

“Uncaught Error: strpos(): Argument #1 ($haystack) have to be of sort string, null given in /var/www/web site/information/www/web site.com.br/wp-content/plugins/woocommerce/src/Blocks/BlockPatterns.php on line 251”

One of many commenters on the dialogue posted:

“Similar situation right here.

It occurred in model 9.8.2, and upgrading to 9.8.3 didn’t resolve it. Downgrading to 9.7.1 didn’t assist both.

The issue occurred with none interplay with plugins or latest updates. Changing the code at line 251 labored as a short lived workaround.

We’ll must discover a extra secure resolution till the WooCommerce staff releases an official patch.”

Others reported that they obtained the error after updating their plugins however that rolling again the replace didn’t resolve the issue, whereas others reported that they hadn’t achieved something previous to experiencing the crash.

Somebody from WooCommerce help responded to say that the WooCommerce staff is conscious of the issue and are working to deal with it:

“Thanks for reporting this. It’s a identified situation, and a short lived workaround has been shared right here: https://github.com/woocommerce/woocommerce/points/57760#issuecomment-2854510504

You may monitor progress and updates on the GitHub thread: https://github.com/woocommerce/woocommerce/points/57760, because the staff is conscious and actively addressing it.”

Fast Repair Posted On GitHub Dialogue

Somebody posted a fast repair to the official GitHub repository that may resolve the issue for now:

If Your Web sites Are At the moment Down – This Is the Fast Repair for You At present

To get websites that had been bricked by the replace with the error message:

Deadly error: Uncaught TypeError: strpos(): Argument #1 ($haystack) have to be of sort string, null given in /var/www/html/wp-content/plugins/woocommerce/src/Blocks/BlockPatterns.php:251

is so as to add ?? ” into the road 251:

 if ( strpos( $class['title'] ?? '', $prefix ) !== false ) {

Remember to clear any WordPress caching layers you might need after making use of this transformation.

Could be useful for these coming right here on the lookout for a fast repair to get stay websites working once more at present, and to purchase a while for the WooCommerce staff to get #57759 prepared.

The identical WooCommerce GitHub repository additionally has this be aware:

“Some websites would possibly see a deadly error round class BlockPatterns.php, with the web site not loading. This was due a nasty response from Woo sample repository. A repair was deployed to the repository however sure websites would possibly nonetheless have a nasty cache worth.”

Additionally they wrote:

“The difficulty has been fastened from the cache supply facet however sure websites had been left with a nasty cache worth, we can be releasing patch updates to repair that.”

Further Drawback On WPEngine

Somebody wrote that they continued to wrestle with their WP Engine web site after implementing a repair:

“I’m struggling to implement the repair on WP Engine. I assume it’s a cache situation, however importing the repair, and clearing all caches isn’t working. Is there an extra step that I’m lacking? Thus far solely restoring a backup fastened it.”

The reply was that WP Engine has a number of caches that must be up to date:

“Thats as a result of WPEngine is a platform, not a traditional internet server – There are various layers you would possibly must clear together with their Web page Cache and Varnish caches. See: https://wpengine.com/help/cache/”

Learn the preliminary report on the WordPress Help discussion board:

Deadly error BlockPatterns.php:251

Learn the GitHub dialogue:

Deadly Error round strpos in BlockPatterns.php #57760

Featured Picture by Shutterstock/Kues

Tags: BugcausingcrashsitesWooCommerceWordPress
Theautonewspaper.com

Theautonewspaper.com

Related Stories

15 website positioning suggestions for 2025 and past • Yoast

15 website positioning suggestions for 2025 and past • Yoast

by Theautonewspaper.com
5 May 2025
0

We’re celebrating 15 years of Yoast, and we are able to’t have fun with out providing some website positioning insights....

Actionable AI — Whiteboard Friday

Actionable AI — Whiteboard Friday

by Theautonewspaper.com
4 May 2025
0

And what I all the time encourage novices to experiment with is get a Proof of Idea. Simply see if...

The Superior Talent Most SEOs Fake to Perceive

The Superior Talent Most SEOs Fake to Perceive

by Theautonewspaper.com
3 May 2025
0

Semantic search engine optimisation sounds difficult, nevertheless it merely boils all the way down to doing search engine optimisation with...

How To Select A Internet Improvement Firm In Australia

How To Select A Internet Improvement Firm In Australia

by Theautonewspaper.com
2 May 2025
0

Right here’s the place the search begins. You’ll most likely begin with a easy on-line hunt. Look by way of...

Next Post
Romania has simply proven the EU the center finger

Romania has simply proven the EU the center finger

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

The Auto Newspaper

Welcome to The Auto Newspaper, a premier online destination for insightful content and in-depth analysis across a wide range of sectors. Our goal is to provide you with timely, relevant, and expert-driven articles that inform, educate, and inspire action in the ever-evolving world of business, technology, finance, and beyond.

Categories

  • Advertising & Paid Media
  • Artificial Intelligence & Automation
  • Big Data & Cloud Computing
  • Biotechnology & Pharma
  • Blockchain & Web3
  • Branding & Public Relations
  • Business & Finance
  • Business Growth & Leadership
  • Climate Change & Environmental Policies
  • Corporate Strategy
  • Cybersecurity & Data Privacy
  • Digital Health & Telemedicine
  • Economic Development
  • Entrepreneurship & Startups
  • Future of Work & Smart Cities
  • Global Markets & Economy
  • Global Trade & Geopolitics
  • Health & Science
  • Investment & Stocks
  • Marketing & Growth
  • Public Policy & Economy
  • Renewable Energy & Green Tech
  • Scientific Research & Innovation
  • SEO & Digital Marketing
  • Social Media & Content Strategy
  • Software Development & Engineering
  • Sustainability & Future Trends
  • Sustainable Business Practices
  • Technology & AI
  • Wellbeing & Lifestyl

Recent News

Occupancy Price Elevated 1.8% Yr-over-year

Occupancy Price Elevated 1.8% Yr-over-year

8 May 2025
Find out how to Automate and Handle Difficult Buyer Interactions

Find out how to Automate and Handle Difficult Buyer Interactions

8 May 2025
The Evolution of Arbitrary Stateful Stream Processing in Spark

The Evolution of Arbitrary Stateful Stream Processing in Spark

8 May 2025
DeepSeek-GRM: Revolutionizing Scalable, Price-Environment friendly AI for Companies

DeepSeek-GRM: Revolutionizing Scalable, Price-Environment friendly AI for Companies

8 May 2025
12 Considerate and Eco Pleasant Mom’s Day Items

12 Considerate and Eco Pleasant Mom’s Day Items

8 May 2025
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us

© 2025 https://www.theautonewspaper.com/- All Rights Reserved

No Result
View All Result
  • Home
  • Business & Finance
    • Global Markets & Economy
    • Entrepreneurship & Startups
    • Investment & Stocks
    • Corporate Strategy
    • Business Growth & Leadership
  • Health & Science
    • Digital Health & Telemedicine
    • Biotechnology & Pharma
    • Wellbeing & Lifestyl
    • Scientific Research & Innovation
  • Marketing & Growth
    • SEO & Digital Marketing
    • Branding & Public Relations
    • Social Media & Content Strategy
    • Advertising & Paid Media
  • Policy & Economy
    • Government Regulations & Policies
    • Economic Development
    • Global Trade & Geopolitics
  • Sustainability & Future Trends
    • Renewable Energy & Green Tech
    • Climate Change & Environmental Policies
    • Sustainable Business Practices
    • Future of Work & Smart Cities
  • Tech & AI
    • Artificial Intelligence & Automation
    • Software Development & Engineering
    • Cybersecurity & Data Privacy
    • Blockchain & Web3
    • Big Data & Cloud Computing

© 2025 https://www.theautonewspaper.com/- All Rights Reserved