just did a fresh install on rocky(centos) linux, WP 6.1.1
when I got to Themes (/wp-admin/themes.php)
I get the following message with WP_DEBUG = true:
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 /var/www/html/wordpress/wp-includes/update.php on line 728
going to that line and checking the block of code it is trying to fetch something from
if I go there in a browser I get a 400 error and the following message body:
Error: No themes specified.
I am not sure what the “$options” array fed to
wp_remote_post( $url, $options );
means exactly but I dumped it anyway
array(3) { ["timeout"]=> int(3) ["body"]=> array(3) { ["themes"]=> string(760) "{"active":"twentytwentythree","themes":{"twentytwentyone":{"Name":"Twenty Twenty-One","Title":"Twenty Twenty-One","Version":"1.7","Author":"the WordPress team","Author URI":"https:\/\/projectdmc.org\/","UpdateURI":"","Template":"twentytwentyone","Stylesheet":"twentytwentyone"},"twentytwentythree":{"Name":"Twenty Twenty-Three","Title":"Twenty Twenty-Three","Version":"1.0","Author":"the WordPress team","Author URI":"https:\/\/projectdmc.org","UpdateURI":"","Template":"twentytwentythree","Stylesheet":"twentytwentythree"},"twentytwentytwo":{"Name":"Twenty Twenty-Two","Title":"Twenty Twenty-Two","Version":"1.3","Author":"the WordPress team","Author URI":"https:\/\/projectdmc.org\/","UpdateURI":"","Template":"twentytwentytwo","Stylesheet":"twentytwentytwo"}}}" ["translations"]=> string(2) "[]" ["locale"]=> string(2) "[]" } ["user-agent"]=> string(44) "WordPress/6.1.1; http://localhost/wordpress/" }
any help here?
