Jump to content

Warning: preg_match() [function.preg-match]: Compilation failed


reveiled

Recommended Posts

I get this in my new Wordpress Install!

What is wrong?

 

Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/haitimar/public_html/quepasodr/wp-includes/classes.php on line 210

 

Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/haitimar/public_html/quepasodr/wp-includes/classes.php on line 211

 

210:				if (preg_match("#^$match#", $request_match, $matches) ||
211:				preg_match("#^$match#", urldecode($request_match), $matches)) {

What are you trying to do?  That syntax is entirely wrong.

 

 

^ means starts with, and $ means ends with.

 

I just installed a Wordpress blog with 2 plugins (SImple Press Forum http://simplepressforum.com/ & Maintenance mode http://sw-guide.de/wordpress/plugins/maintenance-mode/ )

 

Everything was fine. Left the blog overnight, woke up in the morning & I had that!

I checked other WP installs I have and line 210 & 211 are exactly the same as this one

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.