Following critical error observed in logs:
Uncaught TypeError: strstr(): Argument #1 ($haystack) must be of type string, WP_Error given in /home/fiercefa/public_html/wp-includes/functions.php:1153
Additional context
{
"error": {
"type": 1,
"file": "/home/fiercefa/public_html/wp-includes/functions.php",
"line": 1153
},
"remote-logging": true,
"backtrace": [
"",
"#0 /home/fiercefa/public_html/wp-includes/functions.php(1153): strstr()",
"#1 /home/fiercefa/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php(1075): add_query_arg()",
"#2 /home/fiercefa/public_html/wp-content/themes/woodmart/inc/widgets/class-widget-stock-status.php(105): woodmart_shop_page_link()",
"#3 /home/fiercefa/public_html/wp-content/themes/woodmart/inc/widgets/class-widget-stock-status.php(145): WOODMART_Stock_Status->get_link()",
"#4 /home/fiercefa/public_html/wp-includes/class-wp-widget.php(394): WOODMART_Stock_Status->widget()",
"#5 /home/fiercefa/public_html/wp-includes/widgets.php(845): WP_Widget->display_callback()",
"#6 /home/fiercefa/public_html/wp-content/themes/woodmart/sidebar.php(38): dynamic_sidebar()",
"#7 /home/fiercefa/public_html/wp-includes/template.php(810): require_once('/home/fiercefa/...')",
"#8 /home/fiercefa/public_html/wp-includes/template.php(745): load_template()",
"#9 /home/fiercefa/public_html/wp-includes/general-template.php(136): locate_template()",
"#10 /home/fiercefa/public_html/wp-content/plugins/woocommerce/templates/global/sidebar.php(22): get_sidebar()",
"#11 /home/fiercefa/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include('/home/fiercefa/...')",
"#12 /home/fiercefa/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1074): wc_get_template()",
"#13 /home/fiercefa/public_html/wp-includes/class-wp-hook.php(324): woocommerce_get_sidebar()",
"#14 /home/fiercefa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#15 /home/fiercefa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()",
"#16 /home/fiercefa/public_html/wp-content/themes/woodmart/woocommerce/archive-product.php(41): do_action()",
"#17 /home/fiercefa/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include('/home/fiercefa/...')",
"#18 /home/fiercefa/public_html/wp-content/plugins/woocommerce/templates/taxonomy-product-tag.php(22): wc_get_template()",
"#19 /home/fiercefa/public_html/wp-includes/template-loader.php(106): include('/home/fiercefa/...')",
"#20 /home/fiercefa/public_html/wp-blog-header.php(19): require_once('/home/fiercefa/...')",
"#21 /home/fiercefa/public_html/index.php(17): require('/home/fiercefa/...')",
"#22 {main}",
"thrown"
]
}