REMOVE this plugin before duplicating site to /localhost
-
I fought today with an error I couldn’t really understand. I used the Duplicator plugin to make a copy of my site. I then installed it on my Windows machine to apply some changes I want to my theme’s look and create a front-page.php. I’m using WAMP on my Windows machine.
The files from Duplicator seem to have extracted okay, but every time I wanted to access the site via localhost I got several MySQL errors – until I removed this [your] plugin! Then it worked…
Parts of the Apache Error Log File (stubborn as I am I repeated it a few more times and lost a few more of my now precious few hair):
[Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP Parse error: syntax error, unexpected '[' in <strong>C:\\wamp\\www\\dare2go-test\\wp-content\\plugins\\wp-hosting-performance-check\\wp_host_check.php on line 309,</strong> referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP Stack trace:, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP 1. {main}() C:\\wamp\\www\\dare2go-test\\wp-admin\\options-permalink.php:0, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP 2. require_once() C:\\wamp\\www\\dare2go-test\\wp-admin\\options-permalink.php:10, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP 3. require_once() C:\\wamp\\www\\dare2go-test\\wp-admin\\admin.php:31, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP 4. require_once() C:\\wamp\\www\\dare2go-test\\wp-load.php:37, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:54 2016] [error] [client ::1] PHP 5. require_once() C:\\wamp\\www\\dare2go-test\\wp-config.php:103, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:55 2016] [error] [client ::1] File does not exist: C:/wamp/www/robots.txt [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP Parse error: syntax error, unexpected '[' in <strong>C:\\wamp\\www\\dare2go-test\\wp-content\\plugins\\wp-hosting-performance-check\\wp_host_check.php on line 309,</strong> referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP Stack trace:, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP 1. {main}() C:\\wamp\\www\\dare2go-test\\index.php:0, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP 2. require() C:\\wamp\\www\\dare2go-test\\index.php:17, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP 3. require_once() C:\\wamp\\www\\dare2go-test\\wp-blog-header.php:13, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP 4. require_once() C:\\wamp\\www\\dare2go-test\\wp-load.php:37, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] PHP 5. require_once() C:\\wamp\\www\\dare2go-test\\wp-config.php:103, referer: https://localhost/dare2go-test/installer.php [Mon Dec 26 16:41:58 2016] [error] [client ::1] File does not exist: C:/wamp/www/robots.txt
It seems that your plugin is calling the wrong path as all files are there!
Happy New Year! (I’m glad that now I might be able to move on…)
- The topic ‘REMOVE this plugin before duplicating site to /localhost’ is closed to new replies.