Error Installing Wordpress. Just started happening

Hi Guys,

I have the error trying to create a new site. Started after I tried to clone one of the existing sites.
Existing sites (8) all open.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? Just New site

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? No.

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

Created a video. localsitecreation - YouTube
System Details

  • Which version of Local is being used? 5.10.1+5267

  • What Operating System (OS) and OS version is being used?
    Windows 10 Home

  • Attach the Local Log. local-lightning.log (34.9 KB)

1 Like

Sorry guys, but this is my first post so wasn’t sure if it was held up in a queue, or just no one had replied.

Hey @RebelT, Welcome to the Local Community Forums!

I’ve never seen that specific error:

Error: Required file 'local-wpcli-error-reporting.php' doesn't exist (from runtime argument).

It looks like that’s a file that is included with Local and helps ensure that the Local site has better PHP error reporting.

Under Windows, that file should be located here:

%AppData%\Local\Programs\Local\Resources\extraResources\bin\wp-cli\local-wpcli-error-reporting.php

Since that’s missing, I think the best thing to do would be re-install Local. Though if that file was missing, it’s possible that maybe some sort of Antivirus software removed or locked it down?

Hope that helps point you in the right direction. Let me know if you are able to get this working!

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

I have to say that I do like Locals ease of creating Wordpress sites but am fed up with the repeating install works error cycle. Yes it’s another post about the local-wpcli-error-reporting message

Issue Summary

Clone a site. local-wpcli-error-reporting message on that and all new sites.
Custom instead of preferred. local-wpcli-error-reporting message on all new sites.
I can however edit existing sites

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

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
Difficult this one as sometimes it just decides to give the error when a new site had been created hours before.

System Details

  • Which version of Local is being used? Version 5.10.5+5403

  • What Operating System (OS) and OS version is being used?

    • Windows 10 Home. Version 10.0.19042
  • Attach the Local Log.
    Couldn’t work out how to attach the log sorry.

Blockquote{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%userDataPath%%\addons\local-addon-notes\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.619Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%userDataPath%%\addons\local-addon-notes\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.622Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%userDataPath%%\lightning-services\apache-2.4.43+6\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.624Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%userDataPath%%\lightning-services\apache-2.4.43+6\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.681Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%userDataPath%%\lightning-services\php-7.4.1+15\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.682Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%userDataPath%%\lightning-services\php-7.4.1+15\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.739Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.740Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.744Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mariadb-10.4.10+4\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.746Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mariadb-10.4.10+4\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.810Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\mysql-8.0.16+6\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.812Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\mysql-8.0.16+6\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.873Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\nginx-1.16.0+5\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.874Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\nginx-1.16.0+5\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.937Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%resourcesPath%%\lightning-services\php-7.3.5+10\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.938Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%resourcesPath%%\lightning-services\php-7.3.5+10\lib\main.js”,“timestamp”:“2021-06-17T07:16:32.998Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: %%appPath%%\node_modules\@getflywheel\local-addon-broken-link-checker\lib\main.js”,“timestamp”:“2021-06-17T07:16:33.000Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: %%appPath%%\node_modules\@getflywheel\local-addon-broken-link-checker\lib\main.js”,“timestamp”:“2021-06-17T07:16:33.002Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\local-browsersync\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.003Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\local-browsersync-client\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.003Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\local-components\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.004Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\localcert\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.005Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\localtunnel\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.006Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "productName" specified in package.json: %%appPath%%\node_modules\@getflywheel\memoize-one-ts\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.006Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“message”:“Add-on does not have "main" or "renderer" specified in package.json: %%appPath%%\node_modules\@getflywheel\replacestream\package.json”,“level”:“info”,“timestamp”:“2021-06-17T07:16:33.007Z”}
{“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Creating site folders…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:47.615Z”}
{“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Copying service config templates…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:47.620Z”}
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:47.679Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“dataPath”:“C:/Users/TONY/AppData/Roaming/Local/run/vbB8EPK0v/mysql/data”,“level”:“info”,“message”:“Initializing MySQL datadir…”,“timestamp”:“2021-06-17T07:17:47.799Z”}
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:54.548Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Setting up MySQL user…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:54.804Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2021-06-17T07:17:55.634Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-06-17T07:17:54.931652Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 14648”,“timestamp”:“2021-06-17T07:17:57.639Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-06-17T07:17:54.942610Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2021-06-17T07:17:57.640Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-06-17T07:17:57.596395Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2021-06-17T07:17:57.640Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2021-06-17T07:17:57.640306Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10017 MySQL Community Server - GPL.”,“timestamp”:“2021-06-17T07:17:57.641Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Creating MySQL database…”,“level”:“info”,“timestamp”:“2021-06-17T07:17:58.507Z”}
{“thread”:“main”,“class”:“HostsFileService”,“stdout”:“Updating hosts file at C:\Windows\System32\drivers\etc\hosts\nUpdated hosts file at C:\Windows\System32\drivers\etc\hosts\n”,“stderr”:“”,“level”:“info”,“message”:“Updated hosts.”,“timestamp”:“2021-06-17T07:18:00.636Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Init WordPressInstaller”,“level”:“info”,“timestamp”:“2021-06-17T07:18:00.639Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Starting standardInstall()”,“level”:“info”,“timestamp”:“2021-06-17T07:18:00.639Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“maybeGetLatestVersion()”,“level”:“info”,“timestamp”:“2021-06-17T07:18:00.640Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“latestOfflineWpVersion”:“5.7.2”,“level”:“info”,“message”:“Latest offline version info”,“timestamp”:“2021-06-17T07:18:00.640Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“version”:“5.7.2”,“download”:“https://downloads.wordpress.org/release/wordpress-5.7.2.tar.gz",“level”:“info”,“message”:"Latest version info”,“timestamp”:“2021-06-17T07:18:00.977Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Configuring wp-config.php”,“level”:“info”,“timestamp”:“2021-06-17T07:18:08.272Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“stack”:“Error: Error: Command failed: "%%resourcesPath%%\lightning-services\php-7.3.5+10\bin\win64\php.exe" "%%resourcesPath%%\bin\wp-cli\wp-cli.phar" --path="C:\Users\TONY\Local Sites\testagain\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. (%%appPath%%\main\sites\wp\WordPressInstaller.js:1:10350)\n at Generator.throw ()\n at o (%%appPath%%\main\sites\wp\WordPressInstaller.js:1:183)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:93:5)”,“level”:“error”,“message”:“Error installing WordPress”,“timestamp”:“2021-06-17T07:18:08.468Z”}
{“thread”:“main”,“reason”:{},“p”:{},“level”:“warn”,“message”:“Unhandled Rejection.”,“timestamp”:“2021-06-17T07:19:28.148Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mailhog”,“pid”:14440,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-06-17T07:19:39.826Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:13296,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-06-17T07:19:39.852Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:12052,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-06-17T07:19:39.872Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:1060,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-06-17T07:19:39.892Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“pid”:11856,“level”:“info”,“message”:“Killing process”,“timestamp”:“2021-06-17T07:19:39.912Z”}
{“thread”:“main”,“reason”:{},“p”:{},“level”:“warn”,“message”:“Unhandled Rejection.”,“timestamp”:“2021-06-17T07:19:39.934Z”}
{“thread”:“main”,“class”:“DeleteSiteService”,“message”:“Deleting %%userDataPath%%\run\vbB8EPK0v”,“level”:“info”,“timestamp”:“2021-06-17T07:19:40.789Z”}
{“thread”:“main”,“reason”:{},“p”:{},“level”:“warn”,“message”:“Unhandled Rejection.”,“timestamp”:“2021-06-17T07:19:40.857Z”}
{“thread”:“main”,“reason”:{},“p”:{},“level”:“warn”,“message”:“Unhandled Rejection.”,“timestamp”:“2021-06-17T07:19:40.858Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2021-06-17T07:19:41.658Z”}
{“thread”:“main”,“class”:“HostsFileService”,“stdout”:“Updating hosts file at C:\Windows\System32\drivers\etc\hosts\nUpdated hosts file at C:\Windows\System32\drivers\etc\hosts\n”,“stderr”:“”,“level”:“info”,“message”:“Updated hosts.”,“timestamp”:“2021-06-17T07:19:45.417Z”}

Just a bump as this is 5 days old.

So five days has turned into 6 ****ing weeks.
So only conclusion possible has to e no support for the free users. :rage: :rage: :rage: :-1:
Time to look at something like wamp or xampp I guess.
Local is good when it works but getting error too many times without support makes it impossible to use.

Hey @RebelT – I merged this second topic into the original one to help keep things organized.

After encountering the error, what happens next? Do you try restarting the machine?

It’s very odd that this file is missing and makes me think that something else on the machine is removing it. Do you have any antivirus software installed that might be doing some sort of quarentining or automated “helpful” tasks?