The MU forums have moved to WordPress.org

Warning shows up when using sociable (2 posts)

  1. firfurcio
    Member
    Posted 15 years ago #

    Hi, i'm using wordpress Mu 2.6 and i have a warning showing up in a blog using bluebird theme, it says:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/rgrmefdj/public_html/wp-content/plugins/sociable/sociable.php on line 754

    I'm using the latest sociable plugin and the line 754 is somewhere inside the next piece of code:

    // Hook wp_head to add css
    add_action('wp_head', 'sociable_wp_head');
    function sociable_wp_head() {
    global $sociablepluginpath;
    if (in_array('Wists', get_option('sociable_active_sites'))) {
    echo '<script language="JavaScript" type="text/javascript" src="' . $sociablepluginpath . 'wists.js"></script>'."\n";
    }

    Can you help me? Thanks in advance ;)

  2. firfurcio
    Member
    Posted 15 years ago #

    Fixed!
    Just de-activate and re-activate the plugin and the warning message dissappears. :)

About this Topic

  • Started 15 years ago by firfurcio
  • Latest reply from firfurcio