Support » Plugin: UpdraftPlus: WordPress Backup & Migration Plugin » Invalid argument supplied for foreach()

  • Resolved snaphappyme

    (@snaphappyme)


    Hi, a PHP warning Invalid argument supplied for foreach() is showing.

    Query monitor trace log shows:

    1. do_action(‘settings_page_updraftplus’)
    • File: wp-admin/admin.php
    • Line:224
    • UpdraftPlus_Admin–>settings_output()
    • File: wp-includes/class-wp-hook.php
    • Line:286
    • UpdraftPlus_Admin–>include_template()
    • File: …/updraftplus/admin.php
    • Line:2577
    • ORIGINATING FILE: …/updraftplus/templates/wp-admin/settings/upload-backups-modal.php
    • Line:15
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Thanks for the report. This is already fixed in our development version. It was also fixed on wordpress.org in the current release; if you prefer not to wait for the next release, you can just de-install and re-install a fresh copy, and it’ll be gone.

    David

    Thread Starter snaphappyme

    (@snaphappyme)

    I believe I have the current release and this was where the error came from.

    I have 1.14.12.

    Or did you do an fix and leave release version number the same?

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    A fix was released without updating the version number.

    If you reinstall from a fresh copy, you should no longer see the error.

    Thread Starter snaphappyme

    (@snaphappyme)

    Ok thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.