Just updated…and see the same error.
Me too. 🙁
Warning: preg_match() [function.preg-match]: Unknown modifier ”’ in [..]\wp-content\plugins\wordpress-seo\admin\class-metabox.php on line 1435
Here also.. Everytime I publish a post.
Edit: The regex’s isn’t correctly formated. I tweeted Yoast about this, in meanwhile you can fix this by commenting the lines 1434 to 1437 in plugins/wordpress-seo/admin/class-metabox.php.
/* foreach ( $matches[0] as $img ) {
if ( preg_match( '|alt=("|\')(.*?)\1|', $img, $alt ) )
$imgs['alts'][] = $this->strtolower_utf8( $alt[2] );
} */
Same here. I was just sending a post concerning the same issue meanwhile this one came out. Sorry for duplicating!!
Same problem here… How can i fix it? =\
Aargh, found:
changing:
if ( preg_match( '|alt=("|\')(.*?)\1|', $img, $alt ) )
on that line to:
if ( preg_match( '/alt=("|\')(.*?)\1/', $img, $alt ) )
fixes it.
Pushing an update.
Version 1.3.4.1 should be there.
I got the same message today. Good to see others have the same problem.
I am having the same error as well.
It does not fix the issue for me:
Warning: Cannot modify header information – headers already sent by (output started at ****/wp-content/plugins/wordpress-seo/admin/class-metabox.php:1435) in ****/wp-includes/pluggable.php on line 876
Upgrade 1.3.4.1 solved this “unknown modifier & cannot modify header info” for me. I just checked the source code of a post I published (using this WP SEO upgrade) and it’s all good. Thank you Joost!
The update fixed the error for me during Post update.
I downloaded this latest update and it fixed my problems. So disregard my previous message above in this thread.