Critical error
-
As I said before, we are using Elementor and when I updated to the recent versions of the free and premium plugins. We get a fatal error on the checkout page. This is only on the checkout page.
As soon as we revert back to pervious versions of free and pro astra the error goes away.
Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php:483 Stack trace: #0 /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php(483): strpos() #1 /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php(296): Astra_Enqueue_Scripts::has_elementor_product_widget() #2 /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php(636): Astra_Enqueue_Scripts::should_load_add_to_cart_quantity_btn_script() #3 /home/domain/npfsqkzhag/public_html/wp-includes/class-wp-hook.php(341): Astra_Enqueue_Scripts->enqueue_scripts() #4 /home/domain/npfsqkzhag/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #5 /home/domain/npfsqkzhag/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #6 /home/domain/npfsqkzhag/public_html/wp-includes/script-loader.php(2311): do_action() #7 /home/domain/npfsqkzhag/public_html/wp-includes/class-wp-hook.php(341): wp_enqueue_scripts() #8 /home/domain/npfsqkzhag/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #9 /home/domain/npfsqkzhag/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #10 /home/domain/npfsqkzhag/public_html/wp-includes/general-template.php(3197): do_action() #11 /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/header.php(31): wp_head() #12 /home/domain/npfsqkzhag/public_html/wp-includes/template.php(814): require_once(‘…’) #13 /home/domain/npfsqkzhag/public_html/wp-includes/template.php(749): load_template() #14 /home/domain/npfsqkzhag/public_html/wp-includes/general-template.php(48): locate_template() #15 /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/page.php(20): get_header() #16 /home/domain/npfsqkzhag/public_html/wp-includes/template-loader.php(125): include(‘…’) #17 /home/domain/npfsqkzhag/public_html/wp-blog-header.php(19): require_once(‘…’) #18 /home/domain/npfsqkzhag/public_html/index.php(17): require(‘…’) #19 {main} thrown in /home/domain/npfsqkzhag/public_html/wp-content/themes/astra/inc/core/class-astra-enqueue-scripts.php on line 483
You must be logged in to reply to this topic.
