• Gaston

    (@gocasals)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    (@essjay88)

    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 5 months ago by essjay88. Reason: Update
    nevatonight

    (@nevatonight)

    Reinstalling version 9.00 also works

    joaqoliva

    (@joaqoliva)

    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

    (@gelodev)

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

    LenaBalina

    (@lenabalina)

    @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 5 months ago by LenaBalina.
    • This reply was modified 5 months ago by LenaBalina.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.