Cannot create new site

Hello, good morning, try to create a website with the following options: PHP Version: 8.0 and 7.4.1; DataBase in MariaDB10.4.10; WebServer: nginx 1.16.0 and it generates the following error:

The version of Local is: 6.1.8

Operating System (OS) and OS version using: Windows 8

the Local Log is


local-lightning.log (250.4 KB)

Thank You

Hey @mvrmariela – I took a look at the Local log and I’m seeing a few errors that look like the same thing as that popup window:

{"thread":"main","class":"WordPressInstaller","stack":"Error: Error: Command failed: \"%%userDataPath%%\\lightning-services\\php-8.0.0+2\\bin\\win64\\php.exe\" \"%%resourcesPath%%\\bin\\wp-cli\\wp-cli.phar\" --path=\"C:\\Users\\MARIELA\\Local Sites\\panmariela\\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:10817)\n    at Generator.throw (<anonymous>)\n    at o (%%appPath%%\\main\\sites\\wp\\WordPressInstaller.js:1:793)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)","level":"error","message":"Error installing WordPress","timestamp":"2022-01-03T22:09:15.577Z"}

The specific part I’m curious about is if the file that the error message mentions is actually missing.

Can you navigate to where Local is installed and take a screenshot of what you see?

That location should be here:

C:\Users\MARIELA\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\

and you should see a file that’s named local-wpcli-error-reporting.php

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.