I cannot solve this error:

PHP Warning: preg_match(): Compilation failed: nothing to repeat at
offset 0 in
on line 1107, referer: https:// MY-HOME.COM/

The line 1107 is:

if ( $expr != '' && preg_match( '~' . $expr . '~i', $_SERVER['REQUEST_URI'] )) {

Thank you in advance

Read more here: preg_match() Compilation failed


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: