WordPress.org

Ready to get started?Download WordPress

Forums

Sociable
Sociable Replicated PHP Warning in_array Message (1 post)

  1. Yush
    Member
    Posted 3 years ago #

    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]: 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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags