Go to Wordpress -> Plugins -> Image Teleporter -> Edit
Find
require_once(ABSPATH . 'wp-admin/includes/file.php');
require_once(ABSPATH . 'wp-admin/includes/media.php');
Add this under above
function clean($string) {
$string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
$string = preg_replace('/[^A-Za-z0-9\-\.\\/]/', '', $string); // Removes special chars.
return preg_replace('/-+/', '-', $string); // Replaces multiple hyphens with single one.
}
Find this :
$trans = preg_quote($imgs[$i], "/");
Add this under above :
$imgpath = clean($imgpath);
Now it works! :)