Title: Error &quot;Warning: array_values() expects parameter 1&#8230;&quot;
Last modified: August 21, 2016

---

# Error "Warning: array_values() expects parameter 1…"

 *  [csinia](https://wordpress.org/support/users/chrisasolisgmailcom/)
 * (@chrisasolisgmailcom)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/help-fast-error-warning-array_values-expects-parameter-1/)
 * I just had the site I was working with go live suddenly (someone changed the 
   arecord prematurely, long story). The first product displays on the page and 
   works as planned, however, other products come up with the following error whenever
   you try to reserve or click for more detail :
 * Warning: array_values() expects parameter 1 to be array, null given in /home/
   content/12/10818912/html/wp-content/plugins/inventory/ssi/display_functions.php
   on line 663
 * Warning: array_shift() expects parameter 1 to be array, null given in /home/content/
   12/10818912/html/wp-content/plugins/inventory/ssi/display_functions.php on line
   663
 * Warning: Invalid argument supplied for foreach() in /home/content/12/10818912/
   html/wp-content/plugins/inventory/ssi/display_functions.php on line 664
 * This is the same site that I just got information from you regarding style sheet
   Ul / li bullet images. I thought the plug in installed with errors, but you thought
   it was ok. Please advice. This site is live now.
 * [http://www.cleangreenengines.com/parts-and-supplies/](http://www.cleangreenengines.com/parts-and-supplies/)
 * [http://wordpress.org/extend/plugins/grid-products/](http://wordpress.org/extend/plugins/grid-products/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [ModDish](https://wordpress.org/support/users/moddish/)
 * (@moddish)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/help-fast-error-warning-array_values-expects-parameter-1/#post-3774052)
 * thats not an error in grid products its an error in “inventory”

Viewing 1 replies (of 1 total)

The topic ‘Error "Warning: array_values() expects parameter 1…"’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/grid-products.svg)
 * [Grid Products](https://wordpress.org/plugins/grid-products/)
 * [Support Threads](https://wordpress.org/support/plugin/grid-products/)
 * [Active Topics](https://wordpress.org/support/plugin/grid-products/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/grid-products/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/grid-products/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ModDish](https://wordpress.org/support/users/moddish/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/help-fast-error-warning-array_values-expects-parameter-1/#post-3774052)
 * Status: not resolved