Warning: Invalid argument supplied for foreach() in \wordpress\wp-includes\update.php on line 295
The code in the file is this:
- Code: Select all
$response = json_decode( wp_remote_retrieve_body( $raw_response ), true );
foreach ( $response['plugins'] as &$plugin ) {
$plugin = (object) $plugin;
}
Works fine on the server, just not in xampp.