Notice: Undefined index: in /wp-includes/class-requests.php on line 213

Notice: Undefined index: a:1:{s:3:”ssl”;b:1;} in path/to/wp-includes/class-requests.php on line 213

If you’re getting the above error, login as an administrator and go into Appearance and select any stock WordPress theme. See if that resolves the issue with WordPress 5.4. It did for me.