• Resolved LiamMcArthur

    (@liammcarthur)


    You appear to be calling a deprecated function on line 1606 of woocommerce-ac.php:

    wp_redirect( get_permalink( woocommerce_get_page_id( 'shop' ) ) );

    This should be replaced with:

    if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) {
        wp_redirect( get_permalink( wc_get_page_id( 'shop' ) ) );
    } else {
        wp_redirect( get_permalink( woocommerce_get_page_id( 'shop' ) ) );
    }
Viewing 1 replies (of 1 total)
  • Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi,

    Thank you so much for pointing out the issue & providing a solution for this. We highly appreciate. ??

    We will fix this issue in the next plugin update. So you can update the plugin to the latest version. Once we will release our plugin with this fix I will let you know.

    Let me know if you have any further queries.

    Regards,
    Chetna Bhutka

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated call in woocommerce-ac.php’ is closed to new replies.