Title: Error: Warning: in_array() expects parameter 2 to&#8230;
Last modified: August 20, 2016

---

# Error: Warning: in_array() expects parameter 2 to…

 *  [myeight](https://wordpress.org/support/users/myeight/)
 * (@myeight)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-warning-in_array-expects-parameter-2-to/)
 * I got this error:
 * Warning: in_array() expects parameter 2 to be array, null given in /home/content/
   71/9590571/html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 
   670
 * Warning: in_array() expects parameter 2 to be array, null given in /home/content/
   71/9590571/html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 
   675
 * Warning: in_array() expects parameter 2 to be array, null given in /home/content/
   71/9590571/html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 
   679
 * Warning: in_array() expects parameter 2 to be array, null given in /home/content/
   71/9590571/html/wp-content/plugins/gd-star-rating/code/t2/render.php on line 
   687
 * How can I fix it?
 * [http://wordpress.org/extend/plugins/gd-star-rating/](http://wordpress.org/extend/plugins/gd-star-rating/)

The topic ‘Error: Warning: in_array() expects parameter 2 to…’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gd-star-rating_333071.svg)
 * [GD Star Rating](https://wordpress.org/plugins/gd-star-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gd-star-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gd-star-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/gd-star-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gd-star-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gd-star-rating/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [myeight](https://wordpress.org/support/users/myeight/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/error-warning-in_array-expects-parameter-2-to/)
 * Status: not resolved