[Plugin: SexyBookmarks] Offset not contained in string FIX
-
Warning: strpos() [function.strpos]: Offset not contained in string in /YOUR-PLUGIN-DIRECTORY/sexybookmarks/includes/public.php on line XXX.
If you are receiving that error, you can strip a piece of code without breaking the plugin.
Find:
$isphp = false !== strpos($r['feed_permalink'],'.php', strlen($r['feed_permalink']) - 4);Remove (or replace with result below):
<strong>, strlen($r['feed_permalink']) - 4</strong>Result:
$isphp = false !== strpos($r[‘feed_permalink’],’.php’);If you have Notepad++ or another app that lets you see line numbers, follow the warning error to find it. Alternatively, you could use the find/replace function in Notepad++ or another good code editor.
Everything seems to work after removing that piece of code. So far, it doesn’t seem like the removal breaks anything. Give it a try.
The topic ‘[Plugin: SexyBookmarks] Offset not contained in string FIX’ is closed to new replies.