CRITICAL Uncaught ArgumentCountError
-
Astra theme version: 3.9.2
Plugin version: Carousel Slider 2.1.0
WooCommerce version: 6.9.2
WordPress version: 6.0.2
PHP version: 7.4We are using astra theme version 3.9.2 and Carousel Slider 2.1.0
If we make 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
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CRITICAL Uncaught ArgumentCountError’ is closed to new replies.