Title: Sociable Replicated PHP Warning in_array Message
Last modified: August 19, 2016

---

# Sociable Replicated PHP Warning in_array Message

 *  [Yush](https://wordpress.org/support/users/yush/)
 * (@yush)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/sociable-replicated-php-warning-in_array-message/)
 * All of a suddeny I’m getting many generate error message in the order of:-
 * [25-Nov-2010 10:51:25] PHP Warning: in_array() [[function.in-array](https://wordpress.org/support/topic/sociable-replicated-php-warning-in_array-message/function.in-array?output_format=md)]:
   Wrong datatype for second argument in /home/yushcom/public_html/wp-content/plugins/
   sociable/sociable.php on line 1059
 * Line 1059 to 1063 states
 *     ```
       if (in_array('Wists', get_option('sociable_active_sites'))) {
       		global $sociablepluginpath;
       		wp_enqueue_script('sociable-wists',$sociablepluginpath.'wists.js');
       	}
       }
       ```
   
 * I’ve now deleted the plugin and that seems to get rid of the problem. It needs
   a fix…

The topic ‘Sociable Replicated PHP Warning in_array Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sociable.svg)
 * [Sociable](https://wordpress.org/plugins/sociable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sociable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sociable/)
 * [Active Topics](https://wordpress.org/support/plugin/sociable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sociable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sociable/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Yush](https://wordpress.org/support/users/yush/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/sociable-replicated-php-warning-in_array-message/)
 * Status: not resolved