• Resolved dnadog

    (@dnafritts)


    Your plugin is repeatedly generating the error below. The line in the code that is incorrect is line #40 in awfm-frontend.php You might want to update it as suggested to help people not get errors constantly in their logs.

    The The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.1.1. Replace with woocommerce_add_to_cart_fragments.

Viewing 15 replies - 1 through 15 (of 26 total)
  • Bump I have this issue too!

    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    We’ve updated the plugins in order to make compatible with latest WooCommerce depreciated function. Would you please check download latest version of the plugin and verify?

    If you are still getting that kind of problem, we’ve now controlled the version checking function with "awfm_woocommerce_fragments_compatibilty" action hook. From which, you can extend by yourself to overcome the issues.

    Hey I have version 2.6.0 it looks like that version was updated 4 months ago?

    I do not know how to carry out the instructions you have said. Are you intending to fix this bug? Or are you able to provide more detailed instructions as to how I can stop this?

    My error logs are going out of control with this bug and it is filling up my server quickly. Please advise. thank you very much

    • This reply was modified 7 years, 3 months ago by kombilife.
    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    Sorry for your inconvenience,
    If you haven’t changed any files from the version 2.6.0, you just need to update the plugin with latest release 3.1.1
    Does this make sense?

    Oh you are talking about WC. Yes I already have v 3.1.1 installed and this error is happening.

    Incidentally they just updated to 3.1.2 (but I’m sure you will get that notification too)

    So what I am saying is I have the latest version of your plugin and v 3.1.1 WC but am still seeing these logs and have to go in and clear it everyday.

    Please advise, thanks

    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    Nopes, I’m talking about “Woo Floating Minicart 3.1.1”, have you updated to this version?

    Yep sorry my bad – thanks very much for your help.

    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    For confirmation only: Are you still getting compatibility issues (after updating Woo Floating Minicart 3.1.1 plugin) on error log?

    Mate, so sorry for the confusion, it wasn’t your plugin that was causing the error at all. Sorry about this, thanks for your time.

    The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.0.8. Replace with woocommerce_add_to_cart_fragments.

    Hi!

    I am getting the above error. Because of this my cart becomes empty when I add something and change the page to add another thing to the cart.It’s happening for the first add when I come back to the previous page it’s showing the items in the cart but as I mentioned not showing when page is changed for the first time. Please help to solve this issue.
    Thankyou

    • This reply was modified 7 years, 3 months ago by komalnaqvi.

    I have Version 3.1.1 of this plugin but still issue is there.

    • This reply was modified 7 years, 3 months ago by komalnaqvi.
    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    Would it be possible to share your WP credentials privately in my email, BUT NOT PUBLICLY HERE, so that I could debug the issue?

    Hi,

    I have the same error: The “add_to_cart_fragments” hook uses out of date data structures and function is deprecated since version 3.1.2. Replace with woocommerce_add_to_cart_fragments.

    It’s been crashing my site ??

    I’ve got the latest update: Version 3.1.2 | By Automattic

    Can anyone help?

    Plugin Author Shiva Shanker Bhatta

    (@shivashankerbhatta)

    Yes, WooCommerce deprecated its previous “add_to_cart_fragments” hook in their latest release. To overcome the issues, we’ve also added some functions to check WooCommerce version first and fire appropriate minicart hook on Woo Floating Minicart 3.1.1.

    Just to confirm, have you updated “Woo Floating Minicart 3.1.1” too?

    I’m sorry if this is really obvious, but I don’t know how to check this..?

    I installed the latest Woocommerce update. So if we had to do anything else, then no, we haven’t done that

    • This reply was modified 7 years, 3 months ago by hm456.
Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Error in error_log: “add_to_cart_fragments”’ is closed to new replies.