Home › Forums › Support › error after update to 1.3.23: strpos(): empty needle in /media.php on line 1088 › Reply To: error after update to 1.3.23: strpos(): empty needle in /media.php on line 1088
January 21, 2016 at 1:07 am
#167113
Marco
For me this error is still present:
“Warning: strpos() [function.strpos]: Empty needle in /home/depende/public_html/wp-includes/media.php on line 1088”
If I return to this line in 1088 ($src_matched &&) in media.php from “false” to “true” the error error disappears…
// If the file name is part of the
src`, we’ve confirmed a match.
if ( ! $src_matched && true !== strpos( $image_src, $dirname . $image[‘file’] ) ) {
$src_matched = true;
}
Any suggestions?