I was recently working on a project that loaded WordPress from a sub-directory. The result of which is if I cloned the project into the “public” directory, the WordPress files and directories were one level deeper (in “public/wordpress”).
Local by Flywheel
Local by Flywheel Regenerating Machine Certificates
When I tried to run Local by Flywheel I received the notification, “Regenerating Machine Certificates:
Local detected invalid Docker Machine TLS certificates and is fixing them now.” over and over again making Local by Flywheel unusable.
Local by Flywheel – Import Failed – TypeError: Cannot read property devMode on null
Recently, I tried to import a site into Local by Flywheel and it failed with the message, “TypeError: Cannot read property ‘devMode’ on null”. It turns out the site export was created with “Local Lightning” while I’m using the classic Local by Flywheel. By modifying the local-site.json file in the import, I was still able to import the site.
Xdebug in Visual Code Studio with Local by Flywheel
I’ve been using Local by Flywheel for my local WordPress development and I wanted to use Xdebug with Visual Code Studio with it. These are the notes I’ve made for myself in case I need to set this up again in the future.