mercredi 6 avril 2016

Warning: implode() [function.implode]: Invalid arguments passed line 85

To start off, thanks to anyone for the help here. I have VERY basic coding knowledge. Enough to read and somewhat understand but all from a 15+ year old high school programming class. Zero experience with PHP. That being said I am confident that I can put in code if explained why this broke.

I am asking this question here because the developer of the wordpress plugin I want to use has stop responding (6 months ago) to questions regarding the plugin.

So here goes. I get this error....

Warning: implode(): Invalid arguments passed in /home/nexumgam/public_html/wp-content/plugins/twitch-status/includes/twitch-status-options.php on line 85

{
    echo '<tr>';
    echo '<td style="width: 30px"><button class="button button-primary"       type="button" style="' . ($first?'display: none':'') . '" onclick="twitchStatus_RemoveChannelRow(this)">X</button></td>';
    echo '<td><input name="twitch_status_channels[names][]" size="40" type="text" value="' . esc_attr($channel['name']) . '" /></td>';
    //ERROR OCCURS HERE (I THINK, as the next line is 85)
    echo '<td><textarea class="large-text code" name="twitch_status_channels[selectors][]" cols="40" rows="3">' . htmlspecialchars(implode("\n", $channel['selectors'])) . '</textarea></td>';
    echo '</tr>';

    $first = false;
}

Incase you need it for any info I may have failed to provide here is the link to the plug-in - http://ift.tt/1MDCnG6

Thanks again for any help!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire