WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. fizx
    Member
    Posted 2 years ago #

    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

  2. fizx
    Member
    Posted 2 years ago #

    please anyone !

  3. Jeff Clark
    Member
    Posted 2 years ago #

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

  4. fizx
    Member
    Posted 2 years ago #

    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

  5. fizx
    Member
    Posted 2 years ago #

    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

  6. Jeff Clark
    Member
    Posted 2 years ago #

    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.

  7. fizx
    Member
    Posted 2 years ago #

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

  8. Jeff Clark
    Member
    Posted 2 years ago #

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

  9. fizx
    Member
    Posted 2 years ago #

    Thank you so much for your time .

  10. DewPointProductions
    Member
    Posted 2 years ago #

    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.

  11. Arteo
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.