WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#52967 new defect (bug)

error: without the possibility of downloading translations: — at Initial Version

Reported by: juans Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description

Good morning, we found the following error in the wordpress logs without the possibility of downloading the translations:

[Sat Apr 03 11:28:45.517438 2021] [php7:warn] [pid 56] [client X.X.X.X:0] PHP Warning: An unexpected error occurred. Something may be wrong with
WordPress.org

or this server&#8217;s configuration. If you continue to have problems, please try the <a href="

https://wordpress.org/support/forums/
">support forums</a>. (WordPress could not establish a secure connection to
WordPress.org
. Please contact your server administrator.) in /var/www/html/wp-admin/includes/translation-install.php on line 71, referer:
https://blog.fediverse.tv/wp-login.php?redirect_to=https%3A%2F%2Fblog.fediverse.tv%2Fwp-admin%2Foptions-general.php&reauth=1

To solve this we have added the following line to the file
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/translation-install.php#L47

of the official image of docker wordpress:latest

'blocking' => true,

This solves the problem of downloading data from
api.wordpress.org

Change History (0)

Note: See TracTickets for help on using tickets.