Warning: An unexpected error has occurred. Perhaps something is wrong with the WordPress.org site or with the settings of your server. If the problem persists, contact the support forums. (Failed to establish a secure connection to WordPress.org. Please contact the server administrator.) In C: \ OpenServer \ domains \ mysite1 \ wp-admin \ includes \ plugin-install.php on line 158

Something went wrong with the plugin API.

What is the problem? Where to dig?

  • the message says to dig into server settings - alenkins
  • Try to write more detailed questions. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky

1 answer 1

You need to change the permissions, as well as the group for the folder on the local machine wp-content/plugins .

If lokalka, then you can install and 0777, when moving to the hosting 0755. Also, that did not ask access ftp in wp-config.php add the line:

define('FS_METHOD', 'direct');