WPIntell

Source evidence

Fatal error: Uncaught Error: Class ‘WC_Legacy_API’ not found

WooCommerce Legacy REST API · support · 2024-06-19T01:36:00+00:00

complaintsentiment
highseverity
1.0relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

9 / 38 rows with source links

23.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Gaston unresolved
Fatal error: Uncaught Error: Class ‘WC_Legacy_API’ not found in /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce/includes/class-wc-api.php:19 Stack trace: 0 /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(54): include_once() 1 /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce/includes/class-wc-autoloader.php(98): WC_Autoloader->load_file(‘/home/ntsscoma/…’) 2 [internal function]: WC_Autoloader->autoload(‘wc_api’) 3 [internal function]: spl_autoload_call(‘WC_API’) 4 /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php(146): class_exists(‘WC_API’) 5 /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce-legacy-rest-api/includes/class-wc-legacy-rest-api-plugin.php(62): WC_Legacy_REST_API_Plugin::legacy_api_still_in_woocommerce() #6 /home/ntsscoma/insumosdib/wp-includes/class-wp-hook.php(324): WC_Legacy_REST_API_Plugin::on_plugin_activated(”) 7 /home/ntsscoma/insumosdib/wp-includes/class-wp-hoo in /home/ntsscoma/insumosdib/wp-content/plugins/woocommerce/includes/class-wc-api.php on line 19 On the Woocommerc support forum there was a thread with over 40 replies, and they just deleted all and closed it. Phishy. You need to reinstall Woocommerce, and that may fix it. I rolled back to WC 8.9.3 and the site was fixed. It’s available to download at https://developer.woocommerce.com/releases/ Update: as others have said here, reinstalling WC 9.0.0 also works 🙂 This reply was modified 1 year, 11 months ago by essjay88 . Reason: Update Reinstalling version 9.00 also works Para los que no encuentran la solución en español, al momento regresar a la versión 9.xx tal como indica @nevatonight . En mi caso con f4.com.ar volví a woocommerce.8.9.2 y me funciona perfecto. Esperando que reparen el plugin y con actualizaciones automáticas desactivadas. To fixe this error, you can roll back to version 8.9.3 or remove the plugin and reinstall version 9.0.0 @ gelodev what was the plugin you’re referring to? Do you mean you didn’t download the WocCommerce files and upload manually – you did a Rollback – then deleted WC – then reinstalled WC 9.0.0 from plugin page (not manual zip upload) did you also download the Legacy API WC plugin? This reply was modified 1 year, 11 months ago by LenaBalina . This reply was modified 1 year, 11 months ago by LenaBalina .

Comments

6 shown
JoseDieguez 2024-06-19T13:46:00+00:00

On the Woocommerc support forum there was a thread with over 40 replies, and they just deleted all and closed it. Phishy. You need to reinstall Woocommerce, and that may fix it.

essjay88 2024-06-19T14:03:00+00:00

I rolled back to WC 8.9.3 and the site was fixed. It’s available to download at https://developer.woocommerce.com/releases/ Update: as others have said here, reinstalling WC 9.0.0 also works 🙂 This reply was modified 1 year, 11 months ago by essjay88 . Reason: Update

nevatonight 2024-06-19T14:36:00+00:00

Reinstalling version 9.00 also works

joaqoliva 2024-06-19T14:49:00+00:00

Para los que no encuentran la solución en español, al momento regresar a la versión 9.xx tal como indica @nevatonight . En mi caso con f4.com.ar volví a woocommerce.8.9.2 y me funciona perfecto. Esperando que reparen el plugin y con actualizaciones automáticas desactivadas.

gelodev 2024-06-19T15:57:00+00:00

To fixe this error, you can roll back to version 8.9.3 or remove the plugin and reinstall version 9.0.0

LenaBalina 2024-06-20T22:14:00+00:00

@ gelodev what was the plugin you’re referring to? Do you mean you didn’t download the WocCommerce files and upload manually – you did a Rollback – then deleted WC – then reinstalled WC 9.0.0 from plugin page (not manual zip upload) did you also download the Legacy API WC plugin? This reply was modified 1 year, 11 months ago by LenaBalina . This reply was modified 1 year, 11 months ago by LenaBalina .