Warning: stristr(): Empty delimiter. in /kunden/xxxx_xxxx/liebepur/serendipity/plugins/serendipity_event_freetag/serendipity_event_freetag.php on line 577
Good Morning - I get thjis error when I try to save or modify a posting.
I have no idea what delimiter is required nor how to solve the problem.
The code is:
if (stristr($searchtext, $keyword)) {
foreach($ktags AS $tag => $is_assigned) {
if (!is_array($tags) || !in_array(strtolower($tag), $tags)) {
if ($to_lower) {
if (function_exists("mb_strtolower")) {
$tag = mb_strtolower($tag);
} else {
$tag = strtolower($tag);
}
}
$tags[] = $tag;
printf(PLUGIN_EVENT_FREETAG_KEYWORDS_ADD, htmlspecialchars($keyword), htmlspecialchars($tag));
Problem with Taggings Plugin
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with Taggings Plugin
Hi!
That's strange, I don't know how stristr can emmit such a message?!
Can you please chang the code you posted and add this line beofre the stristr:
Then save again and see what it outputs there?
Best regards,
Garvin
That's strange, I don't know how stristr can emmit such a message?!
Can you please chang the code you posted and add this line beofre the stristr:
Code: Select all
echo "Searchtext: $searchtext<br />\nKeyword: $keyword<br />\n";
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/