Title: Warning: in_array() expects parameter 2 to be array, null given in&#8230;
Last modified: November 20, 2018

---

# Warning: in_array() expects parameter 2 to be array, null given in…

 *  Resolved [benlamoo](https://wordpress.org/support/users/benlamoo/)
 * (@benlamoo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-null-given-in-2/)
 * Hello Guys,
 * According to my Google Webmaster, it fails to fetch the site since 16 Nov. And
   I guess it’s because of having the following error with all my page.
 * Warning: in_array() expects parameter 2 to be array, null given in /home/wp9dbhuk/
   public_html/wp-content/plugins/schema/includes/integrations/amp.php on line 29
 * Any idea in solving this? Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-in_array-expects-parameter-2-to-be-array-null-given-in-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * (@ampforwp)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-null-given-in-2/#post-10905756)
 * Hello [@benlamoo](https://wordpress.org/support/users/benlamoo/),
 * I see that this issue isn’t related to ampforwp Plugin but related to Schema 
   Plugin, could you write on their support so that they’ll help you with that?

Viewing 1 replies (of 1 total)

The topic ‘Warning: in_array() expects parameter 2 to be array, null given in…’ 
is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ampforwp](https://wordpress.org/support/users/ampforwp/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/warning-in_array-expects-parameter-2-to-be-array-null-given-in-2/#post-10905756)
 * Status: resolved