• Resolved annunto

    (@annunto)


    Dear Team,
    I hope you are fine
    I have noticed an issue on the website giving me an error Fatal error: Uncaught Error: Class ‘WC_Legacy_AP.

    Can anyone please provide me a guide or any quick solution to be able to overcome this issue.

    Some additional information to understand version of plugin and theme, i am using is as follows :
    – Woocommerce Version 9.0.0
    – Astra theme Version: 4.7.1

    Thank you Team

    • This topic was modified 5 months ago by annunto.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • mu6tu4e

    (@mu6tu4e)

    I have the same problem. I am using:

    WooCommerce 9.0.0
    Flatsome theme 3.18.7
    PHP version 8.1.29

    Thread Starter annunto

    (@annunto)

    Hello @mu6tu4e
    i trust you are doing well

    I have tried downloading WooCommerce plugin version 9.0.0-rc.1, and it appears to be functioning correctly. The issue only arises when using an older version like 8.9.3.

    However, I’m unsure if it’s advisable to continue using WooCommerce version 9.0.0-rc.1.

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @annunto, @mu6tu4e,

    There’s been a lot of reports about issues with the legacy API. One of the current workarounds is installing the update manually through the plugin’s zip file. You can do so by following the steps below.

    1. Download a fresh zip of WooCommerce 9.0.0 from?the www.ads-software.com page
    2. In WP Admin, go to Plugins, and click “Add New Plugin”. Then click “Upload Plugin”.
    3. Choose the zip file you just downloaded and click “Install Now”
    4. After it finishes uploading the zip, you’ll see a message “This plugin is already installed”. Click the “Replace current with uploaded” button so that a fresh copy is used.

    If doing this doesn’t resolve your issue, ?please share the?System Status Report?which you can find via?WooCommerce > Status > Get system report > Copy for support?so we can take a look. You can paste it via?https://gist.github.com/?and send the link here.

    @mu6tu4e, to align with?forum best practices, please create a new topic so we can address your issue(s) separately. You can create a new thread here and share the System Status Report with us as well:
    https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0

    I hope this helps!

    Thanks

    LenaBalina

    (@lenabalina)

    EXACT same issue here – also using ASTRA Pro theme – cannot find a solution
    Woocommerce 9.0 causing fatal errors
    WC Legacy API error message comming up in my report
    Does anyone know when WooCommerce will make a fix for this its been more than 24hours now

    • This reply was modified 5 months ago by LenaBalina.
    mu6tu4e

    (@mu6tu4e)

    @lenabalina for me the solution was to restore a backup with previous WooCommerce version – 8.9.3. I hope this helps but keep in mind that I am using a different WordPress theme.

    @annunto I am well, thank you. I hope that you are doing well too and I am happy that your WooCommerce plugin is functioning correctly.

    @rajeshml thank you very much for the information. Since my site is working properly with the older version of WooCommerce I don’t need support for now. I will try to update the plugin manually as you suggested and if I can’t, then I will create a new topic.

    Thanks again and all the best! ??

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @lenabalina,

    Have you tried this workaround and check if this works for you?

    There’s been a lot of reports about issues with the legacy API. One of the current workarounds is installing the update manually through the plugin’s zip file. You can do so by following the steps below.

    1. Download a fresh zip of WooCommerce 9.0.0 from?the www.ads-software.com page
    2. In WP Admin, go to Plugins, and click “Add New Plugin”. Then click “Upload Plugin”.
    3. Choose the zip file you just downloaded and click “Install Now”
    4. After it finishes uploading the zip, you’ll see a message “This plugin is already installed”. Click the “Replace current with uploaded” button so that a fresh copy is used.

    Hopefully this will work.

    If not, please create a new topic (to align with?forum best practices) so we can address your issue(s) separately. You can create a new thread here and please share the?System Status Report?which you can find via?WooCommerce > Status > Get system report > Copy for support so we can take a look. You can paste it via?https://gist.github.com/?and send the link here.

    @mu6tu4e, glad to know that your site is working fine on the previous version.

    Thanks!

    Thread Starter annunto

    (@annunto)

    Hello @rajeshml ,
    i trust you are doing well

    When you have saying this part :
    – Download a fresh zip of WooCommerce 9.0.0 from?the www.ads-software.com page

    You are referring to download the version WooCommerce 9.0.0-rc.1 ?

    Thanks

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @annunto,

    You are referring to download the version WooCommerce 9.0.0-rc.1 ?

    My colleague was simply referring to the WooCommerce V 9.0.0 and no the r.c version.

    Let us know if you still need further assistance.

    Plugin Author Barry

    (@barryhughes-1)

    Hi, everyone ?? … if you are impacted by this and are happy to share your system status report and also a note of your web hosting provider, we’d greatly appreciate it.

    LenaBalina

    (@lenabalina)

    Hwy guys, i can’t share the system status report because I’ve had to ROLLBACK WC to my previous version. i do have the Fatal errors report saved – but it is super long.
    – do you want me to post this?
    The fatal errors report are mainly lines about the WC Legacy API
    I will try to replicate the system report on my staging platform though.

    My hosting provider uses – Litespeed
    My theme is ASTRA

    Does anyone think this could be an solution – increasing PHP memory?

    Possible Solutions:

    • Increase PHP Memory Limit:
      • Most common reason for fatal errors is exceeding the PHP memory limit.
      • You can try increasing the memory limit in your php.ini file or by adding this line to your wp-config.php:
    define('WP_MEMORY_LIMIT', '256M');
    • This reply was modified 5 months ago by LenaBalina.
    Plugin Author Barry

    (@barryhughes-1)

    Thanks, no need to post the logs if they are the same sort of errors we already know about.

    • Do you mind sharing who your web host is?
    • Do you recall if you originally installed WooCommerce via the hosting control panel and, if you can determine this, do you know if plugin updates are being applied at that level?

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @annunto,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.