Title: expects parameter 2 to be array&#8230;
Last modified: August 21, 2016

---

# expects parameter 2 to be array…

 *  [yveslens](https://wordpress.org/support/users/yveslens/)
 * (@yveslens)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array/)
 * Hello
 * i’m trying gd star rating
    i crash database and after installing a new time gd
   star rating i’ve this errors
 *     ```
       Warning: in_array() expects parameter 2 to be array, null given in /home/imapress/public_html/www_moniste/wp-content/plugins/gd-star-rating/code/t2/render.php on line 670
       ```
   
 * the same error for line 675,line 679,line 687,line 732,line 738,line 754
 * i see i’ve no database tables for gd star rating.
    Please could you help me Thanks
 * [http://wordpress.org/plugins/gd-star-rating/](http://wordpress.org/plugins/gd-star-rating/)

The topic ‘expects parameter 2 to be array…’ 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: [yveslens](https://wordpress.org/support/users/yveslens/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/expects-parameter-2-to-be-array/)
 * Status: not resolved