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

---

# Errors: Warning: in_array() expects parameter…

 *  Resolved [aarongeis](https://wordpress.org/support/users/aarongeis/)
 * (@aarongeis)
 * [13 years ago](https://wordpress.org/support/topic/errors-warning-in_array-expects-parameter/)
 * I recently started managing a musician’s WordPress page ([http://dmlcartel.com/](http://dmlcartel.com/)),
   and the Social Media Widget (ver 4) went wonky recently.
 * It generated many errors (probably 15-20) on the side bar, many beginning with“
   Warning: in_array() expects parameter… ” and most on lines 463 and 467 (I believe).
   I modified the code slightly and was able to remove the error messages (but this
   also removed the icons so this is only a temporary fix for my client).
 * Should I revert back to an old version of the Social Media Widget? I have seen
   other people on this forum having some similar issues.
 * Thanks!
 * [http://wordpress.org/extend/plugins/social-media-widget/](http://wordpress.org/extend/plugins/social-media-widget/)

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

 *  [Blink Web Effects](https://wordpress.org/support/users/bmwebproperties/)
 * (@bmwebproperties)
 * [13 years ago](https://wordpress.org/support/topic/errors-warning-in_array-expects-parameter/#post-3629416)
 * Can you do me a favor and re-install the current version, and press “Save” in
   the widget panel? Then if the errors reappear please leave it and let me know
   or take a screenshot. Thanks
 *  Thread Starter [aarongeis](https://wordpress.org/support/users/aarongeis/)
 * (@aarongeis)
 * [13 years ago](https://wordpress.org/support/topic/errors-warning-in_array-expects-parameter/#post-3629485)
 * I didn’t see a “save” option in the widget panel, but the re-install did the 
   trick. Things are back to normal now. I really appreciate your help on this and
   your fast response. Have a great weekend! 🙂

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

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

 * ![](https://ps.w.org/social-media-widget/assets/icon-256x256.png?rev=2223092)
 * [Social Media Widget](https://wordpress.org/plugins/social-media-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-media-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-media-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/social-media-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-media-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-media-widget/reviews/)

## Tags

 * [media](https://wordpress.org/support/topic-tag/media/)
 * [social](https://wordpress.org/support/topic-tag/social/)
 * [warning in_array](https://wordpress.org/support/topic-tag/warning-in_array/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 2 replies
 * 2 participants
 * Last reply from: [aarongeis](https://wordpress.org/support/users/aarongeis/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/errors-warning-in_array-expects-parameter/#post-3629485)
 * Status: resolved