• I updated several sites to 3.6 today and one of them is giving me issues. After pressing the Update button inside the Dashboard it starts to download 3.6 and then spits out the following error:

    Fatal error: Call to undefined function wp_safe_remote_get() in /usr/home/romein/domains/buurtcentrumderomein.nl/public_html/darts/wp-admin/includes/file.php on line 500

    I checked file.php and like 500 is the following:

    $response = wp_safe_remote_get( $url, array( 'timeout' => $timeout, 'stream' => true, 'filename' => $tmpfname ) );

    I have several wordpress installs on this server and this is the only one that is giving me issues. The site which works fine as it but won’t update is https://darts.buurtcentrumderomein.nl

    Could anyone tell me what this error means. Is it perhaps possible that is has something to do with file permissions, since I had to tinker with them on this install in the past. If so is there an easy way to check if and what is wrong with the permissions?

Viewing 16 replies (of 16 total)
  • wp_safe_remote_get has been in WordPress since 3.6, so I don’t know why that blog article suggested it was only in a beta version of 3.7. My guess is you were downloading from a pre-3.6 version of WordPress and the update didn’t complete. If there was no wp_safe_remote_get in your wp-includes/http.php file, then you might want to consider a fresh install or update. You should never have to modify a core file to make an update. If wp_safe_remote_get is not there, then you’re not running 3.6/3.6.1, at least not in its entirety.

Viewing 16 replies (of 16 total)
  • The topic ‘Fatal Error during update to 3.6 (undefined function)’ is closed to new replies.