Title: E_WARNING: array_sum() expects parameter 1 to be array, string given
Last modified: November 19, 2016

---

# E_WARNING: array_sum() expects parameter 1 to be array, string given

 *  [molden](https://wordpress.org/support/users/molden/)
 * (@molden)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/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 [http://www.sincitymunitions.com](http://www.sincitymunitions.com)
   
   httpResponseCode 200 request.headers.User-Agent facebookexternalhit/1.1 (+http://
   www.facebook.com/externalhit_uatext.php) request.headers.accept */* request.headers.
   host [http://www.sincitymunitions.com](http://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)
    -  This topic was modified 9 years, 7 months ago by [molden](https://wordpress.org/support/users/molden/).

The topic ‘E_WARNING: array_sum() expects parameter 1 to be array, string given’
is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [molden](https://wordpress.org/support/users/molden/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/e_warning-array_sum-expects-parameter-1-to-be-array-string-given/)
 * Status: not resolved