ERROR: Compilation failed: nothing to repeat at offset 1
-
Hi. I’m migrating a site from my dev to the final home, and I get the following errors at the top of the page, which prevent me from accessing child pages or the dash:
Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 1 in /usr/local/4admin/apache/vhosts/touchstone.org/httpdocs/wp-includes/class-wp.php on line 164 Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 1 in /usr/local/4admin/apache/vhosts/touchstone.org/httpdocs/wp-includes/class-wp.php on line 167 Warning: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 1 in /usr/local/4admin/apache/vhosts/touchstone.org/httpdocs/wp-includes/class-wp.php on line 170
When I go to the class-wp.php, those lines refer to the preg_replace lines, specifically dealing with the home_path:
$req_uri = str_replace($pathinfo, '', $req_uri); $req_uri = trim($req_uri, '/'); $req_uri = preg_replace("|^$home_path|", '', $req_uri); $req_uri = trim($req_uri, '/'); $pathinfo = trim($pathinfo, '/'); $pathinfo = preg_replace("|^$home_path|", '', $pathinfo); $pathinfo = trim($pathinfo, '/'); $self = trim($self, '/'); $self = preg_replace("|^$home_path|", '', $self); $self = trim($self, '/');
I just want to get this working to show the client, as we just had to move to this new host, who has been zero help. I migrated the files to the root directory, and have the DB playing nice with it, as far as I know. This is the first time I’ve ever seen this.
My site is here right now: https://66.230.196.19/*touchstone.org/httpdocs/
Any help would be amazing. Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘ERROR: Compilation failed: nothing to repeat at offset 1’ is closed to new replies.