o fonksiyonu bununla değiştiriniz....

private function sanitize($string, $force_lowercase = true, $**** = false) { 
        $strip = array("~", "`", "!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "=", "+", "[", "{", "]", 
                       "}", "\\", "|", ";", ":", "\"", "'", "‘", "’", "“", "”", "–", "—", 
                       "—", "–", ",", "<", ".", ">", "/", "?"); 
        $clean = trim(str_replace($strip, "", strip_tags($string))); 
        $clean = preg_replace('/\s+/', "-", $clean); 
        $clean = ($****) ? preg_replace("/[^A-Za-z0-9\-_ĞÜŞİÖÇğüşıöç ]/", "", $clean) : $clean ; 
        return ($force_lowercase) ? 
            (function_exists('mb_strtolower')) ? 
                mb_strtolower($clean, 'UTF-8') : 
                strtolower($clean) : 
            $clean; 
    } 

}