Answer the question
In order to leave comments, you need to log in
How to solve "Could not establish a secure connection to WordPress.org."?
Fresh installation of wordpress.
My settings in open server Apache-PHP-7.2, PHP-7.2, MySQL-5.7
OS - Windows 10
When I try to find the plugin, it takes a long time to load and as a result the error:
"An unexpected error occurred. There may be something wrong with the WordPress site. org or with your server settings.If the problem persists, contact the support forums."
in debug.log the following message:
[14-Jun-2018 20:46:57 UTC] PHP Warning: An unexpected error occurred. There may be something wrong with the WordPress.org site or with your server settings. If the problem persists, contact the support forums. (Unable to establish a secure connection to WordPress.org. Please contact the server administrator.) in E:\OSPanel\domains\aria.test\wp-admin\includes\plugin-install.php on line 168
plugin-install.php 161-171 lines
if ( $ssl && is_wp_error( $request ) ) {
trigger_error(
sprintf(
/* translators: %s: support forums URL */
__( '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 <a href="%s">support forums</a>.' ),
__( 'https://wordpress.org/support/' )
) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ),
headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE
);
$request = wp_remote_post( $http_url, $http_args );
}
Answer the question
In order to leave comments, you need to log in
It looks like there are no access rights. Find the plugin itself on the official website and download it. Then unzip it to the wp-content/plugins/name-plugin folder. It is important that the name-plugin folder itself already contains php script files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question