I have the following error message on all pages I create in LocalbyFlywheel:
"Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. server administrator.) "
I immediately find the warning under “Settings - General” at the top when I have created a new site.
Likewise, the warning appears when I try to install a plugin, which I can not.
It all seems fast, but when I try to use the Plugin and Settings menus, run it incredibly slow.
My installation is: Local-by-flywheel 2-2-4.
Installed on PC with Widows 10.
I have repeatedly uninstalled and installed Local-by-Flywheel. The problem occurs every time.
I have done as you recommend to correct the error, but it does not help.
As you look at attachments, I get some text in red, which I do not really know what to do with.
Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. server administrator.)
Has to do with the site being unable to connect to the WordPress.org server. This could be a temporary thing, or it could be some piece of software that is blocking that connection – perhaps an AntiVirus software, or maybe a firewall in your local network.
You mention that you have “done as you recommend to correct the error” – can you link to those instructions so that I can see the context?
I’m not sure, but it’s possible that those commands only work in CMD.exe and not in Powershell.
To rule out if this is a network issue – can you try this from a different network – perhaps at a local coffee shop?
I have also tried to turn off protection (Kaspersky Internet Security).
Then, Defender, which has been switched off, will pop up and will block, but I reject it so it should.
I have it with my PC, as with my car. I’m totally lost when I open the engine or when others speak technical details about gearbox or the like.
Going into Powershell is the only solution I can see immediately.
How do I fix commands in CMD.exe, I do not know anything about.
I do not even know what CMD.exe is or where I find it.
To switch networks.
I have now tried that and -
It works! Hooray! Hooray!
As an emergency, I have mobile broadband.
I have tried this now, and so does Local by Flywheel seem perfect?
I’d rather use my normal broadband as it runs fast, but it’s obviously the fault here, so much thanks for the help.
Hope you might be able to help?
Well, at least we know that it has something to do with the network.
I’m afraid I don’t know enough about networking and there are so many possible settings, that I wouldn’t know where to start troubleshooting why this isn’t working for your local router. Maybe there is a setting when you login to the router that is preventing you from accessing the WordPress.org site?
I forgot to tell that I have used Desktop Server (ServerPress) without any problems. Here, WordPress worked normally.
It just makes the problem stranger that it works on Desktop Server, but not on Local by Flywheel.
I’m fairly confident that if you change the NAT settings it will fix the issue.
To run the commands in Cmd.exe, simply open “Command Prompt” like you did with PowerShell. Run the commands exactly like you did before. Copy and paste them and then press enter to run them one by one.
Thank you Clay!
It worked immediately.
I am very grateful.
It’s always hard to be ignorant of one thing you use as a tool.
Fortunately, there are people like you - to help people like me.
The steps outlined in that forum topic are for the Local Classic application, which used Virtualbox to manage WordPress sites. With more recent versions of Local, that dependency doesn’t exist.
Have you tried other networks to see if that allows you to install plugins?
Can you please provide your Local Log? See this Community Forum post for instructions on how to do so:
Thank you for the response. I have not tried other networks but I don’t really have any option anyway. See the attached file for the Local log. local-lightning.log (73.9 KB)
There is an odd error in the Local log that seems like it could be related:
"thread": "main",
"reason": {
"message": "Couldn't find your IP",
How are you connected to the internet – is this a home wifi setup that you created, or is it some existing network? Is it a work network with any security settings in place? What about a vpn – is that being used?
It could be. When the network was set up, were there any security settings that were put in place? For example, anything that might be preventing access to remote sites?