Title: PHP Errorwhen changing language
Last modified: August 22, 2016

---

# PHP Errorwhen changing language

 *  [JanoschVG](https://wordpress.org/support/users/janoschvg/)
 * (@janoschvg)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/php-errorwhen-changing-language/)
 *     ```
       Hey there
   
       I'm having a problem with changing the language of a WordPress-Site. 
   
       Here's the error I get when I try to switch from english to german:
       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. Please contact your server administrator.) in /url/wp-admin/includes/translation-install.php on line 59
   
       And here's what it say's in the file on line 59:
       ```
   
 * if ( $ssl && is_wp_error( $request ) ) {
    trigger_error( __( ‘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](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, $options );
    }`
 * Is it possible I get this error, because it’s a SFTP connection? What can I do
   to solve this?
 * Thanks in advance

The topic ‘PHP Errorwhen changing language’ is closed to new replies.

## Tags

 * [connection](https://wordpress.org/support/topic-tag/connection/)
 * [german](https://wordpress.org/support/topic-tag/german/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server](https://wordpress.org/support/topic-tag/server/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [JanoschVG](https://wordpress.org/support/users/janoschvg/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/php-errorwhen-changing-language/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
