Error command failed: Callable [null,null] does not exist, and cannot be registered as “wp server”
Issue Summary
Error while installing on windows
I can’t get local installed on my computer, it always returns an error saying “Error installing Wordpress”
Error command failed: Callable [null,null] does not exist, and cannot be registered as “wp server”.
I can’t find solution by googling or on your support forum.
“stack”:“Error: Command failed: %%resourcesPath%%\lightning-services\mariadb-10.4.10+4\bin\win32\bin\mysql.exe --password= -e ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘root’;\nERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)\r\n\n at ChildProcess.exithandler (child_process.js:317:12)\n at ChildProcess.emit (events.js:315:20)\n at ChildProcess.EventEmitter.emit (domain.js:467:12)\n at maybeClose (internal/child_process.js:1048:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)”,“level”:“error”,“message”:“Error setting up MySQL user”,“timestamp”:“2021-08-03T14:07:55.807Z”}
If you enter adminer you get the error:
Access denied for user ‘root@localhost’ and can’t modify permission from inside.
Thanks
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular?
also the previous version 6.0 -
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!
Ez, Download, Install, Create a new site with any option.
System Details
-
Which version of Local is being used?
6.1.0 -
What Operating System (OS) and OS version is being used?
Windows 10 Home -
Attach the Local Log. See this Community Forum post for instructions on how to do so:
attached
local|556x267
local-lightning.log (27.7 KB)
Thanks
Davide