WooCommerce Deprecations

Home Forums Ticket Products Event Tickets Plus WooCommerce Deprecations

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1566339
    Sara
    Participant

    Been like this for awhile now, thought maybe it would get autoresolved without posting it, but maybe its been overlooked:

    [02-Jul-2018 22:07:45 UTC] add_to_cart_fragments is deprecated since version 3.0.0! Use woocommerce_add_to_cart_fragments instead
    [02-Jul-2018 22:07:45 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url

    These two deprecations need addressed.

    #1567120
    Victor
    Keymaster

    Hi Sara,

    Thanks for taking the time to report this.

    I’ve just checked the deprecated functions on our plugins and here’s what I found:

    The WC_Cart::get_cart_url() function was being used in our Event Tickets Plus plugin, but we’ve already replaced it by wc_get_cart_url() to prevent PHP notices in version 4.5.6, so you shouldn’t get that notices if you are using latest versions of our plugins.

    As for the add_to_cart_fragments, we do not use that in any of our plugins. Could you please check where that message is coming from?

    You can enable WP_DEBUG and WP_DEBUG_LOG to create a debug.log file inside the /wp-content directory. After that, try reproducing the issue a few times, so that it saves into the debug.log file. Please share that log file with us so we can see where the error is coming from.

    Also, please share with us your system information by following this guide > https://theeventscalendar.com/knowledgebase/sharing-sys-info/.

    Thanks,
    Victor.

    #1583216
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce Deprecations’ is closed to new replies.