PHP Fatal error Uncaught TypeError:
-
Hi there,
i am using AWS Pro with newest WooCommerce 5.8.0 and BeTheme 25.1.2
Now sometimes i get an Fatal Error at debug.log.Just to let you know
[12-Oct-2021 19:24:27 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-helpers.php:1144
Stack trace:
#0 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(443): AWS_Helpers::get_query_stock_status(”, ‘2.13’)
#1 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(209): AWS_Search->query_index_table()
#2 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(1397): AWS_Search->search(‘Ideapad flex 5’)
#3 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search-page.php(368): aws_search(‘Ideapad flex 5’)
#4 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search-page.php(126): AWS_Search_Page->search(Object(WP_Query), 24, 1)
#5 /home/www/xxx/wp-includes/class-wp-hook.php(303): AWS_Search_Page->filter_posts_request(‘SELECT SQL_CALC…’, Object(WP_Query))
#6 /home/www/xxx/wp-includes/plugin.php(233): WP_Hook->apply_filters(‘SELECT SQL_CALC…’, Array)
#7 /home/www/xxx/wp-includes/class-wp-query.php(2938): apply_filters_ref_array(‘posts_request’, Array)
#8 /home/www/xxx/wp-includes/class-wp-query.php(3465): WP_Query->get_posts()
#9 /home/www/xxx/wp-includes/class-wp.php(629): WP_Query->query(Array)
#10 /home/www/xxx/wp-includes/class-wp.php(752): WP->query_posts()
#11 /home/www/xxx/wp-includes/functions.php(1291): WP->main(”)
#12 /home/www/xxx/wp-blog-header.php(16): wp()
#13 /home/www/xxx/index.php(17): require(‘/home/www/xxx…’)
#14 {main}
thrown in /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-helpers.php on line 1144
[12-Oct-2021 19:26:45 UTC] PHP Warning: Undefined property: stdClass::$plugin in /home/www/xxx/wp-admin/includes/class-wp-automatic-updater.php on line 172
[12-Oct-2021 19:26:45 UTC] PHP Warning: Undefined array key “plugin” in /home/www/xxx/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Admin/AutoUpdates.php on line 69
[12-Oct-2021 21:23:08 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/www/xxx/wp-includes/wp-db.php on line 1653
[12-Oct-2021 21:23:18 UTC] PHP Warning: Undefined array key “HTTP_USER_AGENT” in /home/www/xxx/wp-content/themes/betheme/functions/theme-head.php on line 21
[12-Oct-2021 21:23:25 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/www/xxx/wp-includes/wp-db.php on line 1653
[12-Oct-2021 21:23:28 UTC] PHP Warning: mysqli_real_connect(): (08004/1040): Too many connections in /home/www/xxx/wp-includes/wp-db.php on line 1653
[12-Oct-2021 21:23:28 UTC] PHP Warning: mysqli_real_connect(): (08004/1040): Too many connections in /home/www/xxx/wp-includes/wp-db.php on line 1653
[12-Oct-2021 21:23:28 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/www/xxx/wp-includes/wp-db.php on line 1653
[12-Oct-2021 21:33:29 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-helpers.php:1144
Stack trace:
#0 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(443): AWS_Helpers::get_query_stock_status(”, ‘2.13’)
#1 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(209): AWS_Search->query_index_table()
#2 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search.php(1397): AWS_Search->search(‘Yoga’)
#3 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search-page.php(368): aws_search(‘Yoga’)
#4 /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-search-page.php(126): AWS_Search_Page->search(Object(WP_Query), 24, 1)
#5 /home/www/xxx/wp-includes/class-wp-hook.php(303): AWS_Search_Page->filter_posts_request(‘SELECT SQL_CALC…’, Object(WP_Query))
#6 /home/www/xxx/wp-includes/plugin.php(233): WP_Hook->apply_filters(‘SELECT SQL_CALC…’, Array)
#7 /home/www/xxx/wp-includes/class-wp-query.php(2938): apply_filters_ref_array(‘posts_request’, Array)
#8 /home/www/xxx/wp-includes/class-wp-query.php(3465): WP_Query->get_posts()
#9 /home/www/xxx/wp-includes/class-wp.php(629): WP_Query->query(Array)
#10 /home/www/xxx/wp-includes/class-wp.php(752): WP->query_posts()
#11 /home/www/xxx/wp-includes/functions.php(1291): WP->main(”)
#12 /home/www/xxx/wp-blog-header.php(16): wp()
#13 /home/www/xxx/index.php(17): require(‘/home/www/xxx…’)
#14 {main}
thrown in /home/www/xxx/wp-content/plugins/advanced-woo-search-pro/includes/class-aws-helpers.php on line 1144
- The topic ‘PHP Fatal error Uncaught TypeError:’ is closed to new replies.