Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Woocommerce WC_Cart->fees and WC_Cart::get_checkout_url is deprecated

Discussion in 'Misc WordPress Requests' started by Jacob Peattie, Oct 24, 2017.

  1. Jacob Peattie

    Guest

    Reply To: Woocommerce WC_Cart->fees and WC_Cart::get_checkout_url is deprecated, by Jacob Peattie

    @jwtaniza Your theme or a WooCommerce extension must have the issue but hasn’t got a fix yet. Find the issue by re-enabling debug and disabling plugins/switching theme until the error goes away. When it does, the last thing deactivated was probably responsible. When you know who it is contact the author with the error you’re receiving.

    To re-enable debug notices without the plugin seeing them, leave WP_DEBUG as false, but set WP_DEBUG_LOG to true:


    define( 'WP_DEBUG', false );
    define( 'WP_DEBUG_LOG', true );


    This will put the notices into debug.log in /wp-content/, so you can refer to that for the errors, rather than the front-end of your site.

    The good news is that it seems like the method was only deprecated in 3.2, a very very recent release, so you probably have quite a bit of time before you’ll have to really worry.

    Reply To: Woocommerce WC_Cart->fees and WC_Cart::get_checkout_url is deprecated
     
    #1

Share This Page

Web Hosting