Error when installing Local v9.2.4 on Windows 11

What issue or error are you experiencing?

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

Here is a picture of the Error Messages

I cleaned up and re-tried several times (including reinstalling Windows 11 from image backup), and the error messages still appeared.


System Details

  • Local Version:
    v9.2.4
  • Operating System (OS) and OS version:
    Windows 11 Home, version 24H2, OS Build 26100.4061

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-logs.zip (7.2 KB)


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.

Sorry that you ran into this, @cscjchan.

The problem could be special characters in your selected password. (This is currently a known issue on Windows.)

If you try it with only alphanumeric characters in your WordPress password (without characters like &), does it work?

Hi Nick,

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.

Please advise
Thanks
Chun

(attachments)


@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.


Does it work if you visit the https URL directly, or in other browsers?

If so it might be caching. You could try fully clearing your browser cache, or just the cache for that site.

Yes, you are right. I typed in the URL and it worked.
Thanks very much.

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?

Hey @cscjchan!

If you open your dev console do you still see any mixed content type errors in there?

Do you have any plugins or themes that might hold on to cache/css?

The Flywheel guide to clearing your theme/plugin cache

I followed your guide of opening my Chrome console.
Attached is a screenshot of the console.

I haven’t checked how to clear theme/plugin cache yet. I thought I freshly installed Local each time.

(attachments)

What about if you use a browser other than your main one? If you’re using Chrome for example what if you test in Safari, Edge, Firefox, Brave, etc?