WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repe

[Resolved] Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repe

  • Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/fizx/public_html/blog/wp-includes/class-wp.php on line 202

    got this on my pages !! im new please help what to do !?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • please anyone !

    Could be caused by a plugin did you recently install one? What version of WordPress are you on.

    i uninstall everything what i installed recently

    im on latest wordpress
    i dont know what i did .. there is this codes comes on top of my pages

    apparently these 2 lines are the problem ones

    if ( preg_match(“#^$match#”, $request_match, $matches) ||
    preg_match(“#^$match#”, urldecode($request_match), $matches) )

    i tried to remove them from dreamweaver it removed the lines from the pages but then my links arent working then

    try setting your permalinks to default settings.

    if that doesnt work then try switching to the twentyeleven theme to see if we can rule out the theme you are using.

    Fixed it beautifully ! Permalinks 🙂 can i kiss you now lol thanks alot !

    haha no problem at all. Good luck with your WordPress site. Glad I could help

    Thank you so much for your time .

    Sorry but this is a really bad idea if your site has been indexed by the search engines. If you use this method your url structure is going to change and that means that all of the links in search engines from before you changed to the default setting as suggested here are going to go to 404 error pages. Once that happens search engines assume you’re site is not being maintained and your rankings begin to tank. Don’t use this method as is being suggested instead download WPEC 3.8.8.5 http://getshopped.org/getshopped-news/wp-e-commerce-3-8-8-4-release/ which has apparently not made it into the plugin repository as of this evening, but was released today.

    I suggest it would be better to update WP Installations, (…probably update other plug-ins too)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repe’ is closed to new replies.