Title: &quot;in_array() expects parameter 2 to be array, string given&quot;
Last modified: August 31, 2016

---

# "in_array() expects parameter 2 to be array, string given"

 *  [kattouf](https://wordpress.org/support/users/kattouf/)
 * (@kattouf)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/in_array-expects-parameter-2-to-be-array-string-given/)
 * I installed the theme on one server and it worked great. So i installed it on
   another site but i get that error when accessing he Customizer
 * “in_array() expects parameter 2 to be array, string given” customizer.php on 
   line 41
 * any ideas?

The topic ‘"in_array() expects parameter 2 to be array, string given"’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/point/2.1.1/screenshot.png)
 * Point
 * [Support Threads](https://wordpress.org/support/theme/point/)
 * [Active Topics](https://wordpress.org/support/theme/point/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/point/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/point/reviews/)

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