• Resolved alireza

    (@alirezarr99)


    Hello, I have a problem. When I use the [wcj_product_total_sales] shortcode, if the product is on sale, it displays it accurately, but when the product is not on sale, it displays the following error.

    ?encountered in?/*****/****/public_html/****/wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-products-shortcodes.php?on line?726

    Warning: A non-numeric value encountered in?/****/****/public_html/****/wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-products-shortcodes.php?on line?726

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ronyp

    (@ronyp)

    Hello?@alirezarr99 ?,

    Apologies for the inconvenience.

    Can you please follow the steps below to apply the fix to your setup?

    1. Download and extract the zip file. class-wcj-products-shortcodes.zip
    2. Go to File Path ( File manager/FTP ):?wp-content/plugins/woocommerce-jetpack/includes/shortcodes/class-wcj-products-shortcodes.php
    3. Replace the file?class-wcj-products-shortcodes.php?with the above file path.

    Please take a look at the issue and let me know if it is fixed.

    Note: If you are not aware of how to replace the file, Please feel free to let me know.

    Kind Regards,
    RonyP – Support Team

    Thread Starter alireza

    (@alirezarr99)

    Yes, the problem is solved, thank you
    Please provide an update and fix this problem in it, so no one else experiences this problem

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘warning in [wcj_product_total_sales]’ is closed to new replies.