• About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us
AimactGrow
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
AimactGrow
No Result
View All Result

WordPress WooCommerce Bug Inflicting Websites To Crash

Admin by Admin
May 6, 2025
Home SEO
Share on FacebookShare on Twitter


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 in regards to the error on the WordPress.org assist boards and others with the identical downside replied that they had been experiencing the identical factor. Most of these responding reported that they’d not lately achieved something to their websites, that they’d crashed swiftly.

The one who initially reported the bug supplied 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 positioned right here:

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

Others reported receiving the identical deadly error message:

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

One of many commenters on the dialogue posted:

“Identical concern 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 current updates. Changing the code at line 251 labored as a brief workaround.

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

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

Somebody from WooCommerce assist responded to say that the WooCommerce staff is conscious of the issue and are working to handle it:

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

You possibly can observe 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 clear up the issue for now:

If Your Web sites Are Presently Down – This Is the Fast Repair for You Right now

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

Deadly error: Uncaught TypeError: strpos(): Argument #1 ($haystack) should 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 ) {

Make sure you clear any WordPress caching layers you might need after making use of this variation.

May be useful for these coming right here in search of a fast repair to get stay websites working once more right this moment, 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 may see a deadly error round class BlockPatterns.php, with the web site not loading. This was due a foul response from Woo sample repository. A repair was deployed to the repository however sure websites may nonetheless have a foul cache worth.”

Additionally they wrote:

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

Further Downside 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 concern, however importing the repair, and clearing all caches isn’t working. Is there a further step that I’m lacking? To this point solely restoring a backup fastened it.”

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

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

Learn the preliminary report on the WordPress Assist 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
Admin

Admin

Next Post
Tarnshed Version Content material Confirmed For Different Platforms As DLC

Tarnshed Version Content material Confirmed For Different Platforms As DLC

Leave a Reply Cancel reply

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

Recommended.

LockBit Crackdown Fragmented Russian Cybercrime Teams

LockBit Crackdown Fragmented Russian Cybercrime Teams

June 4, 2025
Google Exposes Vishing Group UNC6040 Concentrating on Salesforce with Faux Knowledge Loader App

Google Exposes Vishing Group UNC6040 Concentrating on Salesforce with Faux Knowledge Loader App

June 5, 2025

Trending.

Industrial-strength April Patch Tuesday covers 135 CVEs – Sophos Information

Industrial-strength April Patch Tuesday covers 135 CVEs – Sophos Information

April 10, 2025
Expedition 33 Guides, Codex, and Construct Planner

Expedition 33 Guides, Codex, and Construct Planner

April 26, 2025
How you can open the Antechamber and all lever places in Blue Prince

How you can open the Antechamber and all lever places in Blue Prince

April 14, 2025
Important SAP Exploit, AI-Powered Phishing, Main Breaches, New CVEs & Extra

Important SAP Exploit, AI-Powered Phishing, Main Breaches, New CVEs & Extra

April 28, 2025
Wormable AirPlay Flaws Allow Zero-Click on RCE on Apple Units by way of Public Wi-Fi

Wormable AirPlay Flaws Allow Zero-Click on RCE on Apple Units by way of Public Wi-Fi

May 5, 2025

AimactGrow

Welcome to AimactGrow, your ultimate source for all things technology! Our mission is to provide insightful, up-to-date content on the latest advancements in technology, coding, gaming, digital marketing, SEO, cybersecurity, and artificial intelligence (AI).

Categories

  • AI
  • Coding
  • Cybersecurity
  • Digital marketing
  • Gaming
  • SEO
  • Technology

Recent News

Why Media Coaching is Vital for Danger Administration and Model Status

Why Media Coaching is Vital for Danger Administration and Model Status

June 18, 2025
How To Change Your Buddy Code

How To Change Your Buddy Code

June 18, 2025
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved