[wp-trac] [WordPress Trac] #50584: translation-install.php file creates an issue when opening settings page
WordPress Trac
noreply at wordpress.org
Tue Jul 7 02:26:26 UTC 2020
#50584: translation-install.php file creates an issue when opening settings page
--------------------------+-----------------------------
Reporter: mariolonghi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.4.2
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
My installation of wordpress is within a closed network. The server does
not have access to the internet.
When installing the default wordpress installation, everything seems to be
working correctly but when I try to get to the main settings page on wp-
admin (options-general.php) it throws the error below:
"PHP 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 D:\wordpress\wordpress-5.4.2\wordpress\wp-
admin\includes\translation-install.php on line 68 PHP 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
D:\wordpress\wordpress-5.4.2\wordpress\wp-admin\includes\translation-
install.php on line 68 "
I figured that this was due the server not having the access to the
particular wordpress hosted translation API.
doing some troubleshooting, i found this stack overflow that "fixed" the
issue:
https://stackoverflow.com/questions/35238058/error-wp-admin-includes-
translation-install-php-on-line-59
This solved the issue for now, but when i run an upgrade, it will be
broken again.
Suggestion to either have a switch on a config file to use or not this
translation feature or to have a error exit on the code if it can't
access.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50584>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list