Issue Summary
Unable to create any new sites in local, always failing when it gets to downloading WordPress. Log of error entry below.
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular?
All new sites. -
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
No
Replication
Click Plus icon to create new site, use all defaults, errors out. Also errors when trying different versions of PHP, Web Server and SQL.
System Details
-
Which version of Local is being used?
6.1.1 -
What Operating System (OS) and OS version is being used?
Win10 64 bit.
{"thread":"main","class":"WordPressInstaller","stack":"Error: Error: Command failed: \"%%resourcesPath%%\\lightning-services\\php-7.3.5+11\\bin\\win64\\php.exe\" \"%%resourcesPath%%\\bin\\wp-cli\\wp-cli.phar\" --path=\"C:\\Users\\stephen\\Local Sites\\test1\\app\\public\" --require=\"%%resourcesPath%%\\bin\\wp-cli\\local-wpcli-error-reporting.php\" --skip-plugins --skip-themes \"core\" \"config\" --skip-check --dbname=local --dbuser=root --dbpass=root --skip-salts\nError: Required file 'local-wpcli-error-reporting.php' doesn't exist (from runtime argument).\n\n at WordPressInstaller.<anonymous> (%%appPath%%\\main\\sites\\wp\\WordPressInstaller.js:1:10350)\n at Generator.throw (<anonymous>)\n at o (%%appPath%%\\main\\sites\\wp\\WordPressInstaller.js:1:183)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)","level":"error","message":"Error installing WordPress","timestamp":"2021-08-25T19:56:45.496Z"}