Code: Select all
PHP Warning: explode() expects parameter 2 to be string, array given in (path)/serendipity_event_freetag.php on line 1037, referer: (site)/plugin/tag/(tag name)/
Looking at the code, it seems to be related to the line that goes like this:
Code: Select all
if (!empty($this->tags['show'])) {
if (is_array($this->tags['show'])) {
$showtag = array_map('serendipity_db_escape_string', $this->tags['show']);
} else {
$showtag = serendipity_db_escape_string($this->tags['show']);
}
} else if (!empty($serendipity['GET']['tag'])) {
$showtag = serendipity_db_escape_string(urldecode($serendipity['GET']['tag']));
}
$arr_showtag = explode(';', $showtag);