E_WARNING: array_sum() expects parameter 1 to be array, string given
-
Seeing this error 177 times in <30 min. How to resolve?
SERVER_NAME https://www.sincitymunitions.com
httpResponseCode 200
request.headers.User-Agent facebookexternalhit/1.1 (+https://www.facebook.com/externalhit_uatext.php)
request.headers.accept */*
request.headers.host https://www.sincitymunitions.com
request.method GET
response.headers.contentType text/html
url /product/winchester-xpr-hunter-momcr-535722228/in array_sum called at /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php (1123)
in WC_Product::get_rating_count called at /var/www/html/wp-content/plugins/woocommerce/templates/single-product/rating.php (29)
in include called at /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php (203)
in wc_get_template called at /var/www/html/wp-content/plugins/woocommerce/includes/wc-template-functions.php (861)
in woocommerce_template_single_rating called at /var/www/html/wp-includes/plugin.php (524)
in do_action called at /var/www/html/wp-content/plugins/woocommerce/templates/content-single-product.php (65)
in require called at /var/www/html/wp-includes/template.php (574)
in load_template called at /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php (173)
in wc_get_template_part called at /var/www/html/wp-content/plugins/woocommerce/templates/single-product.php (37)
in include called at /var/www/html/wp-includes/template-loader.php (75)
in require_once called at /var/www/html/wp-blog-header.php (19)
in require called at /var/www/html/index.php (17)
- The topic ‘E_WARNING: array_sum() expects parameter 1 to be array, string given’ is closed to new replies.