• I have just installed a vanilla installation of WordPress using the 5 minute install. There are no changes whatsoever. I get these two messages.

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\wp\wp-includes\update.php on line 311

    Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\wp\wp-includes\update.php on line 315

    I checked the support forum and tried adding the (array) in front of the foreach as suggested and it created another issue. I tried, as suggested, coping another update.php from a working site. Neither made a difference.

    My site, such as it is, is https://apps.prospectusberco.org/wp/.

    Any solutions would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Well foreach() can be called by themes’ function too. Try to use another theme to see if WordPress still boot. It should.

Viewing 1 replies (of 1 total)
  • The topic ‘Invalid agrument supplied for foreach update.php’ is closed to new replies.