• Resolved 4boards

    (@4boards)


    The following error was logged at the same time as upgrade.php, file.php & upgrade-core.php appear to have been updated automatically:

    PHP Warning: Invalid argument supplied for foreach() in /home/boardsc/public_html/wp-admin/includes/update-core.php on line 1252

    Here are lines 1252 & 1253 of update-core.php
    foreach ( glob( $directory . ‘*’, GLOB_ONLYDIR ) as $dir ) {
    $files = array_merge( $files, _upgrade_422_find_genericons_files_in_folder( $dir ) );

    Site is https://www.4boards.co.uk

Viewing 5 replies - 1 through 5 (of 5 total)
  • Is anything not working? Did your site site upgrade to the proper version?

    Thread Starter 4boards

    (@4boards)

    Looks like it has resolved by more updates, now 4.2.2

    Happy that it is resolved.

    I just did an automatic update from 4.1.1 to 4.2.2 and got this message.
    Now i get “connection was reset” when I try to go to admin page

    Please advise

    Thanks,

    Kirill

    The same here: I just did an automatic update from 4.1.1 to 4.2.2 and got this message:
    wordpress update warning invalid argument supplied for foreach() ……..update-core.php line 1252

    I reinstalled and still the same error?

    Any sugests? Thanks

    It is solved: moved the whole website to another server with php 5.5 /it been oldest 5.3…/.
    So, now the problem is solved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update-core.php error’ is closed to new replies.