• Resolved mcdeth

    (@mcdeth)


    hi. whenever i enable to show on-sale badge my theme crashes

    [01-Jul-2024 08:56:04 UTC] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string - string in domains/domain/public_html/wp-content/themes/ecomm/framework/class-woo.php:549
    Stack trace:
    #0 domains/domain/public_html/wp-content/themes/ecomm/framework/class-woo.php(583): Ecomm_Woo->get_product_price_saving_percentage()
    #1 domains/domain/public_html/wp-content/themes/ecomm/woocommerce/loop/sale-flash.php(37): Ecomm_Woo->get_product_sale_badge_text()
    #2 domains/domain/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/u90118019...')
    #3 domains/domain/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1439): wc_get_template()
    #4 domains/domain/public_html/wp-content/themes/ecomm/woocommerce/content-product-grid-08.php(54): woocommerce_show_product_loop_sale_flash()
    #5 domains/domain/public_html/wp-includes/template.php(812): require('/home/u90118019...')
    #6 domains/domain/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template()
    #7 domains/domain/public_html/wp-content/themes/ecomm/woocommerce/archive-product.php(91): wc_get_template_part()
    #8 domains/domain/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/u90118019...')
    #9 domains/domain/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-cat.php(22): wc_get_template()
    #10 domains/domain/public_html/wp-includes/template-loader.php(106): include('/home/u90118019...')
    #11 domains/domain/public_html/wp-blog-header.php(19): require_once('/home/u90118019...')
    #12 domains/domain/public_html/index.php(17): require('/home/u90118019...')
    #13 {main}
    thrown in domains/domain/public_html/wp-content/themes/ecomm/framework/class-woo.php on line 549
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Thank you for reaching out. This is Sangeetha from the Customer Support Team.

    We sincerely apologize for any inconvenience you may have experienced. We understand the importance of having a seamless integration with your active theme.

    To ensure that we provide you with the best possible assistance, we kindly request you to create a support ticket by clicking on the following link: https://www.flycart.org/support. Please also provide us with the URL of your active theme and the version of Discount Rules you are using. Our support engineer will be more than happy to assist you with any inquiries you may have.

    Thanks,
    Team Flycart

    Hey there,

    Just wanted to followup,

    Since we have not received any response, this conversation has been closed.
    If you require further assistance, please feel free to get in touch and create a support ticket by clicking here: https://www.flycart.org/support our support engineer will be available to assist you with your inquiries.

    Thanks,
    Team Flycart

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.