By no means am I a professional programmer so this may not be the best approach, but it worked for me. Please use at your own discretion!! Maybe the site owners could intervene and give their input.
In “sef.cache.php” around line: 113
should look something like:
$str .= '$'.$arrayName.'[\''.$sef.'\']=\''. $val.'\';';
Replace with:
$str .= '$'.$arrayName.'[\''.$sef.'\']=\''.addslashes($val).'\';';
As I stated use at your own discretion!! But it works great for me. In essence all this does is get it to escape the single quotes which were used in some of my titles and content. At least that was my problem.
## So far I did NOT have to add stripslashes. ##