Question 1
I am new to installing Local.
I downloaded Local v9.2.4 and started the installation on my Windows 11.
I chose Default to all questions, up to the point of “Set up WordPress”. After giving the username, password, and email, I clicked “Add Site”.
After sever steps, it came to “Installing WordPress…”
Then it failed with the following messages:
Error installing WordPress for
Command failed:
Error: Parameter errors:
missing --admin_email parameter (The email address for the admin user)
‘–admin_email’ is not recognized as an internal or external command, operable program or batch file.
Question 2
But when I clicked “Ok”, it continued and seemed to indicate that the site is ready.
I clicked the site and it could be opened.
I clicked “Trust” to accept the default certificate and it indicated “trusted”
I clicked “One-click admin” to “On”
Then I clicked “Open site”, the “wp-admin” page can be loaded, but the site address indicated that it is “Not secure”. It seems that the certificate was not accepted.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Thanks for the recommendation. That works after I didn’t use the “&” character in the password.
But I do have another question (in the submitted log file too):
I have clicked “Trust” to accept the default SSL certificate. But when I open the site or the Admin site, it still shows that the site is not secure.
Attached are 2 screenshots of this problem.
@cscjchan Did you replace your WordPress Address and Site Address starting http:// with the https:// version in the WordPress admin at Settings → General?
Or you can use Better Search Replace for this:
Once you’ve done that, you’ll need to log in again but it should load the https version without the ‘not secure’ message.
I followed your instruction by changing the WordPress Address and the Site Address to start with https:// instead of http://
It worked for the WordPress page but not the Site page.
See the 2 attached screenshots.
After I clear all the browser cache, it works only when I explicitly type in “https://”
But when I click Open Site under Local, it still brings up “http://”
Why didn’t it open “https://” instead?