White screen, Wordpress not work at Local

Hi here!
I really want use Local for local development, but tired to find answer why my site not work.
First I install Local and create default site - its work perfect. After I import existing WP-project (replace wp-content and DB) - am use this manual for moved existing site

Now I have white screen and log-by-flywheel.log, I enable error_log by WP, but is empty.

This my log-by-flywheel.log

    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/index] Shutting Down VM
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Environment does not have package.json: /Users/macbook/Library/Application Support/Local by Flywheel/environments/custom-1-3-0/package.json
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/check-system] Check System: Docker Machine:  
    { stdout: 'Running\n', stderr: '' }
    Jul 9, 2018, 1:43 PM GMT+7 - info: [main/set-docker-env] Getting Docker Machine env.
    Jul 9, 2018, 1:44 PM GMT+7 - warn: [main/set-docker-env] Unable to get Docker Machine env. This usually happens when there is a kernel panic inside the VM. Attempting to power cycle VM now. 
    { error: 
       { killed: true,
     code: null,
     signal: 'SIGTERM',
     cmd: '/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine env --shell bash local-by-flywheel' } }
    Jul 9, 2018, 1:44 PM GMT+7 - error: [main/index] Error: Command failed: VBoxManage controlvm local-by-flywheel poweroff
    VBoxManage: error: Machine 'local-by-flywheel' is not currently running

    at checkExecSyncError (child_process.js:603:13)
    at Object.execFileSync (child_process.js:623:13)
    at Object.module.(anonymous function) [as execFileSync] (ELECTRON_ASAR.js:172:20)
    at _child_process2.(anonymous function).(anonymous function) (/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-docker/set-docker-env.js:1:2101)
    at ChildProcess.exithandler (child_process.js:289:5)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:921:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    Jul 9, 2018, 1:52 PM GMT+7 - info: [main/index] Shutting Down VM
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Environment does not have package.json: /Users/macbook/Library/Application Support/Local by Flywheel/environments/custom-1-3-0/package.json
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Loading Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/check-system] Check System: Docker Machine:  
    { stdout: 'Running\n', stderr: '' }
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/set-docker-env] Getting Docker Machine env.
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
    export DOCKER_HOST="tcp://192.168.95.100:2376"
    export DOCKER_CERT_PATH="/Users/macbook/.docker/machine/machines/local-by-flywheel"
    export DOCKER_MACHINE_NAME="local-by-flywheel"
    # Run this command to configure your shell: 
    # eval $("/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" env --shell bash local-by-flywheel)

    Jul 9, 2018, 1:53 PM GMT+7 - info: [renderer/CheckEnvPage] Check system promise response: 
    [ undefined,
      [ 'custom:1.3', 'local-router:1.0', 'flywheel:1.2' ] ]
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-machine-fdv] NFS Mount Status 
    { mountedPoints: [ '/Users', '/Volumes' ],
      mountPoints: [ '/Users', '/Volumes' ] }
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-machine-fdv] unfsd already running
    Jul 9, 2018, 1:53 PM GMT+7 - error: [main/waitForMySQL]  Error: (HTTP code 409) unexpected - Container 79fa3478fe904f1fc39d4dabde7de90349c26b8d57f5b58de1c5699ca236bd14 is not running 
    at /private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at getCause (/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:269:7)
    at Modem.buildPayload (/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:238:5)
    at IncomingMessage.<anonymous> (/private/var/folders/vg/d60hzf01171fd0qjnc288c7r0000gn/T/AppTranslocation/A75AEDB7-8787-40D7-A21F-2F2AA85A3265/d/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:214:14)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
    Jul 9, 2018, 1:53 PM GMT+7 - info: [EnvironmentCustom] Empty /etc/mysql
    Jul 9, 2018, 1:53 PM GMT+7 - info: [EnvironmentCustom] Copying MySQL config to container prior to starting.
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/waitForFile] Waiting for  /conf/php/7.2.0/etc/php-fpm.conf 79fa3478fe904f1fc39d4dabde7de90349c26b8d57f5b58de1c5699ca236bd14
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] getRouterContainers()
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] teardown()
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] Removing router container e7cbd7b231f51c2050535985aba7447740a3fa5f2e8c1ffcda3a18d7c325c2c2
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] updateProxyManager()
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] runContainer()
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/waitForFile] /conf/php/7.2.0/etc/php-fpm.conf exists
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-network-manager] removeExistingNetworks
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-network-manager] createNetwork
    Jul 9, 2018, 1:53 PM GMT+7 - info: [main/docker-router] reconnectNetwork()
    Jul 9, 2018, 1:53 PM GMT+7 - info: [EnvironmentCustom]  Starting php-fpm  done

please help to find the cause

Hi @redmonkey73,

Sorry for the white screen!

This is usually caused by a fatal PHP error. I would check logs folder for that particular site for clues.

How did you go about doing this? Did you enable both WP_DEBUG and WP_DEBUG_LOG?

Hi @clay,
Yes i enable debugging in wp-config.php (https://codex.wordpress.org/WP_DEBUG), but no have nothing at error logs

Got it.

Did you also enable WP_DEBUG_LOG? After visiting the site, was there a debug.log file in the site’s app/public/wp-content/ folder?

Hi Clay !
Yes i enable wp_debug, but after i see white screen i no have debug.log in wp-content, look my attachment

Got it. Thanks for the screenshot!

That’s interesting :thinking:

Have you checked the site’s logs folder for more clues? You can find logs next to the site’s conf and app folders.

Hi Clay! I try check logs, but in

conf

folder i see only conf files, in

app

folder i also not find log files

i find some logs in site folder/logs

MySql log

    2018-07-16 04:44:10 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
    2018-07-16 04:44:10 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2018-07-16 04:44:10 0 [Note] /usr/sbin/mysqld (mysqld 5.6.34) starting as process 468 ...
    2018-07-16 04:44:10 468 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
    2018-07-16 04:44:10 468 [Note] Plugin 'FEDERATED' is disabled.
    2018-07-16 04:44:10 468 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2018-07-16 04:44:10 468 [Note] InnoDB: The InnoDB memory heap is disabled
    2018-07-16 04:44:10 468 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2018-07-16 04:44:10 468 [Note] InnoDB: Memory barrier is not used
    2018-07-16 04:44:10 468 [Note] InnoDB: Compressed tables use zlib 1.2.8
    2018-07-16 04:44:10 468 [Note] InnoDB: Using Linux native AIO
    2018-07-16 04:44:10 468 [Note] InnoDB: Using CPU crc32 instructions
    2018-07-16 04:44:10 468 [Note] InnoDB: Initializing buffer pool, size = 32.0M
    2018-07-16 04:44:10 468 [Note] InnoDB: Completed initialization of buffer pool
    2018-07-16 04:44:10 468 [Note] InnoDB: Highest supported file format is Barracuda.
    2018-07-16 04:44:10 468 [Note] InnoDB: The log sequence numbers 1600309 and 1600309 in ibdata files do not match the log sequence number 289530484 in the ib_logfiles!
    2018-07-16 04:44:10 468 [Note] InnoDB: Database was not shutdown normally!
    2018-07-16 04:44:10 468 [Note] InnoDB: Starting crash recovery.
    2018-07-16 04:44:10 468 [Note] InnoDB: Reading tablespace information from the .ibd files...
    2018-07-16 04:44:10 468 [Note] InnoDB: Restoring possible half-written data pages 
    2018-07-16 04:44:10 468 [Note] InnoDB: from the doublewrite buffer...
    2018-07-16 04:44:10 468 [Note] InnoDB: 128 rollback segment(s) are active.
    2018-07-16 04:44:10 468 [Note] InnoDB: Waiting for purge to start
    2018-07-16 04:44:10 468 [Note] InnoDB: 5.6.34 started; log sequence number 289530484
    2018-07-16 04:44:10 468 [Note] Server hostname (bind-address): '*'; port: 3306
    2018-07-16 04:44:10 468 [Note] IPv6 is available.
    2018-07-16 04:44:10 468 [Note]   - '::' resolves to '::';
    2018-07-16 04:44:10 468 [Note] Server socket created on IP: '::'.
    2018-07-16 04:44:10 468 [Note] Event Scheduler: Loaded 0 events
    2018-07-16 04:44:10 468 [Note] /usr/sbin/mysqld: ready for connections.
    Version: '5.6.34'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)

php-fpm.log

    [16-Jul-2018 04:44:09] NOTICE: fpm is running, pid 185
    [16-Jul-2018 04:44:09] NOTICE: ready to handle connections

@redmonkey73,

Thanks! I am seeing potential MySQL issues in MySQL log, but I doubt that’s causing the white screen.

Please try deleting advanced-cache.php and object-cache.php in wp-content.

Also, what status code are you getting when you load the site in your browser? 500?