Troubleshoot “My site is down”

May 6, 2025 Advisory: We’re currently investigating a known issue in WooCommerce Core that can cause fatal errors on some sites using block themes. The issue is related to a malformed response from the Woo Block Patterns API, which may result in a bad cached value.

How can I tell if this affects me? If your store admin panel or store frontend are displaying Uncaught Error: strpos(): Argument #1 ($haystack) must be of type string, null given or you’re unable to access your store or admin area completely, you may be impacted by this issue.

What action should I take? If your store is experiencing this issue, there are several things you can do to fix it while our fix propagates to all sites (we have deployed a fix, but it will take some time to reach all sites). The solutions are quite technical, and can be found on WooCommerce’s Developer Documentation.

What we are doing: This issue has been fixed in WooCommerce 9.8.4. Please update your site.

WordPress sites do occasionally go down –  this guide is meant to help you get started with troubleshooting.  This is when your site can no longer load or respond properly to requests due to an error.  

How do I know that my site is down?

↑ Back to top

You may be seeing any of the following:

  • White screen with an error message (usually a critical or fatal error)
  • White screen with no text at all (this is known as the “White Screen of Death” or WSOD)

How do I troubleshoot my site?

↑ Back to top

First, identify the error. If an error is already showing directly on the page, great – copy/paste it to a safe place for later troubleshooting. Otherwise, there are a few ways to find out more information:

  • Check the site admin email. WordPress may have sent a debug email when the fatal error occurred which contains the error details.
  • Check PHP logs. These can be accessed through most hosting service’s control panel or via FTP. If you aren’t sure, check with your host for more information.
  • Enable debug mode. WordPress has a debug mode which displays the error message instead of a blank page. Check out How to easily enable WordPress debug mode for more information. Note that you’ll want to disable debug mode once you’ve solved the problem.

Next, search for solutions or seek help. Once you know what the error is, there are a variety of next steps to choose from:

  • Starting with an internet search may help you diagnose the issue, but be careful following advice you find on the internet – especially if it advises technical fixes or database changes you don’t fully understand.
  • If the error indicates a recently added or updated plugin, you can try manually removing the plugin. If you aren’t sure how, check with your host for help. If that brings your site back up, consider contacting the plugin’s developer about the error.
  • If the issue appears to be related to WooCommerce core or one of our plugins, check the forums or contact our support.

Once your site is back up, many problems are caused by conflicts which can help you narrow down the root issue. Once your site is fully backed up, you might consider following our conflict testing guide.

More about common errors

↑ Back to top

Check out our Troubleshoot PHP errors article for more general information on errors pertaining to WooCommerce.

If you’d like to know more about the different PHP and other errors affecting WordPress, check out Common WordPress errors in WordPress.org’s Advanced Administration Handbook.