Today when I visited a customer’s website, I saw an error similar to this:
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\CartRemoveCoupon' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 52
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\CartRemoveItem' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 53
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\CartSelectShippingRate' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 54
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\CartUpdateCustomer' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 55
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\CartUpdateItem' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 56
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\Checkout' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 57
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductAttributes' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 58
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductAttributesById' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 59
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductAttributeTerms' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 60
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductCategories' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 61
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductCategoriesById' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 62
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductCollectionData' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 63
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductReviews' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 64
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\Products' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 65
Warning: Class 'Automattic\WooCommerce\StoreApi\Routes\V1\ProductsById' not found in /public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/deprecated.php on line 66
etc.
After trying all sorts of troubleshooting, the solution ended up being simple. Download a fresh copy of WooCommerce from WordPress.org and FTP it up to the server, replacing the existing WooCommerce files. Problem solved.
Isn’t that nice?
More posts from themightymo.com
How to Convert .aiff to .mp3 files via Command Line
Yesterday I ran into an issue where I needed to convert .aiff files to .mp3. DBPowerAmp was recommended to me as a paid GUI tool. But I wanted something more lightweight, since this is a task I rarely need to do (most of the time, I’m already in Logic Pro, and exporting is simple there).…
Google Removed Our Business Listing – How we restored our biz to the Map and got our reviews back.
I was about to send an email to a potential customer pointing them to our 5-star Google Reviews via our Google Business profile (e.g. the Google Map), hoping this added information about our customers’ past experiences might help me close a deal. But when I checked the Google Reviews link, it was down. And after…
The Price We Pay: Cloudways Off-Site Backup vs. Budget WordPress Hosts
Cloudways Off-Site Backup Pricing Calculator: The Ultimate Cost Guide