• So I’m getting this error on almost every page/post on the site, even showing on the dashboard.

    It appears it showed up right after I made some permalink changes, but I’ve gone back to previous settings and cannot seem to get it fixed.

    Thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mrhinman

    (@mrhinman)

    Bump.

    Same here…
    This is the error code I get when trying to get to Pages:

    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? or (?- at offset 3 in /home/wastatcc/public_html/wp-includes/class-wp.php on line 231
    Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? or (?- at offset 3 in /home/wastatcc/public_html/wp-includes/class-wp.php on line 232
    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/wastatcc/public_html/wp-includes/class-wp.php on line 231
    Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in /home/wastatcc/public_html/wp-includes/class-wp.php on line 232

    And this is what lines 231 and 232 look like in class-wp.php:

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘preg_match() error in class-wp.php line 231 & 232’ is closed to new replies.