Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.