• Resolved gore.m

    (@gorem)


    Hello,
    after I moved staging site to live site (Duplicator), Im getting 404 response from

    wc-ajax=get_refreshed_fragments
    and
    wc-ajax=update_order_review

    If WooCommerce Multilingual plugin is deactivated 404 is gone.

    Is it plugin bug or where can be problem?

    Thanks you

    • This topic was modified 6 years ago by gore.m.
    • This topic was modified 6 years ago by gore.m.
Viewing 9 replies - 1 through 9 (of 9 total)
  • simonph

    (@simonph)

    I have this exact same problem. Used All-In-One WP Migration and on 2nd language wc-ajax is 404 now.

    Hello @gorem and @simonph
    You both say that the issue happens after migration.
    Did you perhaps tried to re-save the permalinks in the WordPress dashboard > Settings > Permalinks?
    I have not used “All-In-One WP Migration” for migrating sites, but as far as I know, it is a recommended step when using “Duplicator” after the migration is complete.
    For me this seems like the only logical explanation.

    Thread Starter gore.m

    (@gorem)

    Hello @botzev, it seems error is not caused by migration. Re-saving permalinks doesnt work.

    According to this topic and recommendation of @christian70 Ive downgraded to Woocommerce 3.3.3 and I can confirm errors are gone. And I think I can agree with @icaleb that error is obviously caused because of Woocommerce 3.3.4 update:
    * Fix - Use relative scheme for AJAX endpoint to avoid errors when using a mix of HTTP and HTTPS.

    Woocommerce mutlilingual v4.2.9 is incompatible with Woocommerce 3.3.4.

    Quick help is uninstall Woo 3.3.4, install Woo 3.3.3 and wait for compatibility update – until that is your store unusable, because you cant pass checkout.
    WARN: After Woo downgrade some plugins (WooCommerce Product Add-ons, WooCommerce PDF Invoices & Packing Slips) are not working.

    • This reply was modified 6 years ago by gore.m.

    Thank you for the details.
    As far as I understand the problem comes when http and https is mixed.
    Perhaps you should verify your home url/site url settings in WordPress and set them accordingly to https or http and that would kinda fix the problem?

    I will forward this ticket to our developers to take a look.

    Thread Starter gore.m

    (@gorem)

    It looks like there is not http and https mix (Im on Woo 3.3.3 there).
    URLs are OK, I checked it few times. There is only one thing that is obvious – it is because of Woo 3.3.4 update.

    Thread Starter gore.m

    (@gorem)

    Hello, just a small update from me.
    We released WPML 3.9.4 which should contain two fixes that are related to the problems reported here.
    You might want to test it out.
    As an usual update procedure and a best practice, please remember to make a backup before updating.

    Thread Starter gore.m

    (@gorem)

    Hello,

    yes, I can confirm problems are gone, thanks you .-)

    Thank you for confirming that.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wc-ajax returning 404’ is closed to new replies.