• I have an error message on my site that says:
    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/bunnellarts/bunnellarts.com/wp-includes/class-wp.php on line 204

    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/bunnellarts/bunnellarts.com/wp-includes/class-wp.php on line 205

    Line 204 and 205 in the class-wp.php document reads:
    if ( $wp_rewrite->use_verbose_page_rules && preg_match( ‘/pagename=\$matches\[([0-9]+)\]/’, $query, $varmatch ) ) {

    CAN ANYONE HELP ME change the code so the error message goes away? (I don’t understand code, i only cut and paste : )

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Homersapiens

    (@homersapiens)

    Actually line 204 says
    if ( $wp_rewrite->use_verbose_page_rules && preg_match( ‘/pagename=\$matches\[([0-9]+)\]/’, $query, $varmatch ) ) {

    and line 205 says
    // this is a verbose page match, lets check to be sure about it

    Thread Starter Homersapiens

    (@homersapiens)

    Am I even asking the right question – “How do I change the code?”
    Is there something else that I could do. Really, I need some help please! Trying to finalize this website for a client, but haven’t a clue what to do!

    re-upload the fresh wp-includes folder via ftp

    Thread Starter Homersapiens

    (@homersapiens)

    do i need to get a new wp-includes folder? or i just upload the one already saved on my computer?

    which version (WP) are you using? You upload only that’s version files

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Help me troubleshoot this error message’ is closed to new replies.