• Hi,

    I’ve seen other posts regarding this but they are older so I thought I might ask if anyone else is seeing this show up and if so how do I rectify it?

    any assistance would be greatly appreciated.

    {“fragments”:{“div.widget_shopping_cart_content”:”<div class=\”widget_shopping_cart_content\”>\n\n<ul class=\”cart_list product_list_widget \”>\n\n\t\n\t\t<li class=\”empty\”>No products in the cart.<\/li>\n\n\t\n<\/ul><!– end product list –>\n\n\n<\/div>”},”cart_hash”:””}

    https://wordpress.org/plugins/woocommerce/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    What WooCommerce version are you using?
    What theme are you using?
    Where you see this message?
    Try to enable a default theme Twenty XXX.

    I think this is caused because of the theme you are using :).

    Thread Starter stear111

    (@stear111)

    I am using the latest version of woocommerce, with the latest version of WP, this just happened after the updates.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    this just happened after the updates.

    which could still mean its theme related if its not compatible.

    Link would also help as well as the answers to the questions beankiller made above.

    Thread Starter stear111

    (@stear111)

    Pure and simple theme, woocommerce 2.5.5
    I see the message on the live traffic from Wordfence Security.

    This is the link to what shows above re:fragments etc..

    this is a link to the information shown by wordfence

    I have not tried TwentyXXX yet

    Plugin Contributor Mike Jolley

    (@mikejolley)

    This isn’t an error then. This is the correct response for that URL – its loaded in via ajax.

    Thread Starter stear111

    (@stear111)

    I appreciate your time, maybe I just don’t understand. why would the site send or allow a customer to view this link? especially on a non-purchase link?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    This is something woocommerce calls on a page load to get the latest version of elements such as cart widget. It’s never visited directly; your reporting just seems wrong.

    Thread Starter stear111

    (@stear111)

    Researching this further the topic was visited on this thread.link These links to the wc cart via ajax are being reported in the WordFence plug-in, I have written them as well. Maybe it’s a reporting error, maybe not.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    That would be best. They should exclude requests where DOING_AJAX is true.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Ajax Error Cart Widget’ is closed to new replies.