I got this :
Warning: preg_match(): Unknown modifier ‘/’ in /home/xxxx/public_html/wp-includes/class-wp.php on line 231

when I open class-wp.php on line 231:

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

what’s happen?

Read more here: Unknown modifier ‘/’


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: