Hi,
Are you running the server locally? I have faced a similar problem when I run a localhost WP site. I think the local XAMPP server is unable to access the WordPress.org website (even though my computer is connected to the internet). I ignore it and add plugins/themes via upload.
Regards,
Ramesh
Thanks Ramesh for the response. I am not running it locally. bedesiadoptadesi.com This is self hosted wordpress installation. Hope you come up with some solution.
Can you post a screenshot with the error please? Does the error also say – (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)
Hi,
From similar issues I found in the wordpress support forums, you could try these
(1) Through your cPanel, check phpinfo() to see if these functions are available – allow_url_fopen and curl_init . You can check with phpinfo().
One of them is necessary for update/install. (source)
(2) Check with Hostgator if the server where your site is hosted has access to the following url – api.wordpress.org. If not, have them add the IP in the hosts file. (source)
Considering that you are able to browse the internet, I don’t think it is a problem with your desktop.
Create a file called phpinfo.php and enter the following code
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Upload the file to your webhost and point to the file (for e.g. – http://bedesiadoptadesi.com/phpinfo.php)
Look for the two functions mentioned and the corresponding values (on/off). Alternately, you can ask HostGator 🙂
I asked HostGator but I am yet to receive the solution. It would be really great Ramesh if you could check the php file and help me resolve the issue.
Got the Solution Ramesh, it was one of the plugins that was causing problems. Deactivated it and Tada!! it worked. 🙂 Thanks bro