woocommerce / woocommerce-legacy-rest-api

The legacy WooCommerce REST API, which used to be part of WooCommerce itself but is removed as of WooCommerce 9.0.
11 stars 11 forks source link

problem activation ? #6

Open 425027sv opened 9 months ago

425027sv commented 9 months ago

while activating the legacy API plugin, it seems to try to activate old deleted plugins ???

image image
Konamiman commented 7 months ago

Hi @425027sv, sorry for the late response. We're going to investigate this issue; by "deleted plugins" you mean plugins that were once active but had been physically deleted from the WordPress plugins directory? Also is this behavior consistent (happens every time you activate the plugin)?

Cibertienda commented 4 months ago

Hola, estoy teniendo un inconveniente en la activación del plugin WooCommerce Legacy REST API, ya que no se activa (desde la ventana de plugins)

Captura de pantalla 2024-06-19 103657

También me esta apareciendo este error en la pagina web, el cual observando el inconveniente es la no instalación del plugin:

Captura de pantalla 2024-06-19 103810

He revisado el estado de WooComerce y me aparece una inconveniente con una plantilla obsoleta:

Captura de pantalla 2024-06-19 104012

Mi pregunta es: ¿El problema es por la plantilla obsoleta? ¿Como podría corregirlo?

Konamiman commented 4 months ago

Hi @Cibertienda, I'm answering in English so that my answer will be informative for anyone who comes across it.

Sorry for the trouble. Yes, we have received other reports of that "Class Legacy_REST_API not found" error and the Legacy REST API plugin failing to activate. This is happening in some servers where for some reason (we haven't been able to determine the exact cause yet) some of the files that were removed in WooCommerce 9.0 are still present after the upgrade. The obsolete template is unrelated to this issue.

We are going to issue a fix release for this, but meanwhile, a workaround that has been reported to fix the issue is reinstalling WooCommerce 9.0 by uploading the zip file of the release (in Plugins - Add New Plugins). Please let me know if this works for you.