Title: PHP Warning on PHP 7.2?!
Last modified: April 23, 2018

---

# PHP Warning on PHP 7.2?!

 *  Resolved [esdev](https://wordpress.org/support/users/esdev/)
 * (@esdev)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/)
 * Hi All my wordpress installs with Jetpack had this error:
 * Warning: in_array() expects parameter 2 to be array, null given in /wp-content/
   plugins/jetpack/class.jetpack.php on line 1518
 * Is there a fix coming?
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Tracy](https://wordpress.org/support/users/tmmbecker/)
 * (@tmmbecker)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10211268)
 * Thanks for reporting this!
 * It’s a bug in Jetpack that should be fixed in the next release. You can follow
   our progress here:
 * [https://github.com/Automattic/jetpack/pull/9245](https://github.com/Automattic/jetpack/pull/9245)
 * In the meantime, you can hide this error following the instructions here:
 * [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
 * Hope that helps!
 *  Thread Starter [esdev](https://wordpress.org/support/users/esdev/)
 * (@esdev)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10213282)
 * Thank you!
 *  [Tracy](https://wordpress.org/support/users/tmmbecker/)
 * (@tmmbecker)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10214979)
 * My pleasure!
 *  Thread Starter [esdev](https://wordpress.org/support/users/esdev/)
 * (@esdev)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10221086)
 * Tracy, i am also receiving this error on a few of my sites:
 * WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-
   note-data’ failed: Error during WebSocket handshake: Unexpected response code:
   403
    O @ public-api.wordpress.com/:7 12:56:53.142 public-api.wordpress.com/:7
   WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-
   note-data’ failed: Error during WebSocket handshake: Unexpected response code:
   403 O @ public-api.wordpress.com/:7
 * Any idea?
 *  [Tracy](https://wordpress.org/support/users/tmmbecker/)
 * (@tmmbecker)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10226172)
 * A 403 error usually indicates a security block by your host. Could you reach 
   out to them and ask that they look into this for you?
 * Would you also post your URL here so that I can have a look?
 * If you want it to remain private, you can also contact us via this contact form:
   
   [https://jetpack.com/contact-support/?rel=support](https://jetpack.com/contact-support/?rel=support)
 * Be sure to reference this thread. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Warning on PHP 7.2?!’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [in_array](https://wordpress.org/support/topic-tag/in_array/)
 * [php7.2](https://wordpress.org/support/topic-tag/php7-2/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tracy](https://wordpress.org/support/users/tmmbecker/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/php-warning-on-php-7-2/#post-10226172)
 * Status: resolved