• Resolved webbeetle

    (@webbeetle)


    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…)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Scott Farrell

    (@sfarrell5123)

    I’ll check on windows

    what version of php are you using ?

    Thread Starter webbeetle

    (@webbeetle)

    On my live web server I just switched from 5.6 to 7.0 (host doesn’t have 7.1 yet), but as far as I recall after I run Duplicator. On my local WAMP server, where I unpacked the Duplicator file, I believe I have 5.3.x

    Plugin Author Scott Farrell

    (@sfarrell5123)

    yeh, I think I need changes for php 5.3 – you shouldnt really be using php5.3 though

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘REMOVE this plugin before duplicating site to /localhost’ is closed to new replies.