Support » Plugin: Carousel Slider » CRITICAL Uncaught ArgumentCountError

  • Resolved martje65

    (@martje65)


    Plugin version: 2.1.0
    WooCommerce version: 6.9.2
    WordPress version: 6.0.2
    PHP version: 7.4
    Astra theme version: 3.9.2

    I have made a Product Carousel and when we enable the “Show Sale Tag” on the slider we get the next error on our website and in the log files.

    
    2022-10-02T07:27:16+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function Astra_Woocommerce::sale_flash(), 2 passed in /test.be/wp-includes/class-wp-hook.php on line 307 and exactly 3 expected in /test.be/wp-content/themes/astra/inc/compatibility/woocommerce/class-astra-woocommerce.php:302
    Stack trace:
    #0 /test.be/wp-includes/class-wp-hook.php(307): Astra_Woocommerce->sale_flash('<span class="on...', Object(WC_Product_Simple))
    #1 /test.be/wp-includes/plugin.php(191): WP_Hook->apply_filters('<span class="on...', Array)
    #2 /test.be/wp-content/plugins/carousel-slider/modules/ProductCarousel/View.php(173): apply_filters('woocommerce_sal...', '<span class="on...', Object(WC_Product_Simple))
    #3 /test.be/wp-content/plugins/carousel-slider/modules/ProductCarousel/View.php(117): Carous in /test.be/wp-content/themes/astra/inc/compatibility/woocommerce/class-astra-woocommerce.php op de lijn 302
    • This topic was modified 4 months ago by martje65.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.