Title: Error installing plugins
Last modified: October 29, 2019

---

# Error installing plugins

 *  [Robert Perez](https://wordpress.org/support/users/robert0perez/)
 * (@robert0perez)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-installing-plugins-3/)
 * Hi, I have WordPress in localhost, for an offline site that I have developed 
   for intranet use but when I try to download plugins it gives me an error.
 * `Warning: Ha sucedido un error inesperado. Puede que algo vaya mal con WordPress.
   org o la configuración de este servidor. Si sigues teniendo problemas, por favor,
   prueba en los foros de soporte. (WordPress no pudo establecer una conexión segura
   con WordPress.org. Por favor, contacta con el administrador de tu servidor.) 
   in /var/www/wordpress/wp-admin/includes/plugin-install.php on line 180`
 * How do I solve it?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/error-installing-plugins-3/#post-12078016)
 * [@robert0perez](https://wordpress.org/support/users/robert0perez/)
 * This is a PHP Warning. Not an error.
 * Typcially it comes from your local server config, either the plugin does not 
   like the PHP version that is running, or perhaps they are blocking a particular
   port.
 * Did the plugin install successfully ?
    -  This reply was modified 6 years, 7 months ago by [corrinarusso](https://wordpress.org/support/users/corrinarusso/).
 *  Thread Starter [Robert Perez](https://wordpress.org/support/users/robert0perez/)
 * (@robert0perez)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/error-installing-plugins-3/#post-12157634)
 * Hello, [@corrinarusso](https://wordpress.org/support/users/corrinarusso/) I can
   not install or update anything in a normal way by calling it, I only download
   the .zip from the official website and upload it without problems but if I install
   plugins that connect to the internet it generates that warning
    just by pressing
   the add new plugins button the following appears:
 *     ```
       Warning: Ha sucedido un error inesperado. Puede que algo vaya mal con WordPress.org o la configuración de este servidor. Si sigues teniendo problemas, por favor, prueba en los foros de soporte. (WordPress no pudo establecer una conexión segura con WordPress.org. Por favor, contacta con el administrador de tu servidor.) in /var/www/perez/wp-admin/includes/plugin-install.php on line 180
   
       Ha sucedido un error inesperado. Puede que algo vaya mal con WordPress.org o la configuración de este servidor. Si sigues teniendo problemas, por favor, prueba en los foros de soporte.
       ```
   
 * but if I get into the linux terminal and ping WordPress.org it does it without
   problems

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error installing plugins’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 2 replies
 * 1 participant
 * Last reply from: [Robert Perez](https://wordpress.org/support/users/robert0perez/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/error-installing-plugins-3/#post-12157634)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
