ERROR: warning: preg_match() … Compilation failed … classes.php line 210 211
-
I get the following warning now at the top of most (but not all) of the pages in my site, and also in the wordpress dashboard:
Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in [site dir removed]/wp-includes/classes.php on line 211
this error and one with the same text, but for line 210 instead of 211, is repeated about 10 times at the top of the page.
and here is what lines 210 and 211 in the classes.php say:
if (preg_match("#^$match#", $request_match, $matches) ||
preg_match("#^$match#", urldecode($request_match), $matches)) {
This error showed up out of nowhere. The site was untouched in months. Today, all I did was update an article, edit a “page”, and added some amazon links in a text widget on the sidebar — all stuff I’d done before.
What can I do to fix this? After this showed up, I upgraded to wordpress 3.0.1 from 2.7 or so. I also updated all the plugins but I still get the error. (Again, this updating was only done AFTER the error appeared).
Thanks for any help!
- The topic ‘ERROR: warning: preg_match() … Compilation failed … classes.php line 210 211’ is closed to new replies.