Make WordPress Core

Opened 2 years ago

Last modified 4 months ago

#48495 reopened defect (bug)

Update failed A Valid URL was not provided

Reported by: tlembke Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.4
Component: Upgrade/Install Keywords: reporter-feedback
Focuses: administration Cc:


Received above error message when updating (or downloading) all plugins on all sites in my system
Error resolved when changed wp-admin/includes/file,.php line in line 989

$response = wp_safe_remote_get(
$response = wp_remote_get(

Appears to be a url validation error , even though plugins that failed included

WordPress 5.2.4
Running PHP version: 7.3.2 (on FreePSB)

Change History (4)

#1 @karlte
2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Hi tlembke,

please see ticket #48509.

I found a working solution ... please verify.

#2 @desrosj
22 months ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Reopening this because #48509 has not been confirmed to fix the issue.

@tlembke can you provide more detailed steps to reproduce the issue that you are seeing? What is your system's setup? How are you trying to update the plugins? Is the error only returned for some, or all?

#3 @sdachs
15 months ago

We have the same problems and the solution works.

We have a few wordpress instances and always the same errors whether wordpress-update or plugin-install/update. We have to use a proxy for the internet connection. Without proxy (direct internet connection) the download works without problems.

After every coreupdate we have to edit the file.php and remove the "safe" in wp_safe_remote_get

#4 @sdachs
4 months ago

Bug is still there.
Everytime we update WordPress, we need to manually edit the file.php.
Do you have a solution for us?

Note: See TracTickets for help on using tickets.