WooCommerce 9.0.1: Dot Release

WooCommerce 9.0.1 has been released

In WooCommerce 9.0 we received reports of an issue that appears to be the result between code associated to the recent deprecation of the Legacy REST API, server configurations, and caching mechanisms.

This release mitigates the impact of that issue.

Current Stable Tag

👉 WooCommerce 9.0.1

📆 Released June 20, 2024

What’s in this release

In WooCommerce 9.0 we received reports of an issue that appears to be the result between code associated to the recent deprecation of the Legacy REST API, server configurations, and caching mechanisms.

The primary symptom of this problem is a fatal error message stating Fatal error: Uncaught Error: Class 'WC_Legacy_API' not found... This error has been observed predominantly among users employing LiteSpeed Cache Plugin, although it may also impact others.

You can read more about this issue in this developer advisory.

This release includes the following code change which prevents the fatal error from occurring. This does not address the root cause of why deleted files continue to appear on servers, but does mitigate the issue from occurring when an upgrade to WooCommerce is applied.

  • Check WC_Legacy_API instead of WC_API as that seems to be cached by lightspeed servers #48593

3 responses to “WooCommerce 9.0.1: Dot Release”

  1. So at this time we should have the new legacy rest API plug in enabled?

    1. Barry Hughes Avatar
      Barry Hughes

      There’s no single answer to this question, I’m afraid—every site is different.

      We imagine that most users do not require the Legacy REST API plugin. However, there are certainly exceptions. If you are unsure, we recommend reading through the guidance here.

  2. Can I ask why last update the Origin become unknown , we found it very useful but it seems like it is not working anymore

Leave a Reply

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