Undefined array key “updraft_restore”

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Undefined array key “updraft_restore”

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2212347
    David
    Participant

    I am not able to restore any of my backups as of yesterday on my localhost copy of a wordpress site

    I get the following message when the restore bails: (I have edited the environment-specific path references)

    Undefined array key “updraft_restore” in C:\{hidden path}\wp-content\plugins\updraftplus\admin.php on line 5092

    Fatal error: Uncaught TypeError: usort(): Argument #1 ($array) must be of type array, null given in C:\{hidden path}\wp-content\plugins\updraftplus\admin.php:5093 Stack trace: #0 C:\{hidden path}\wp-content\plugins\updraftplus\admin.php(5093): usort(NULL, Array) #1 C:\{hidden path}\wp-content\plugins\updraftplus\admin.php(4964): UpdraftPlus_Admin->prepare_ajax_restore() #2 C:\{hidden path}\wp-content\plugins\updraftplus\admin.php(2930): UpdraftPlus_Admin->prepare_restore() #3 C:\{hidden path}\wp-includes\class-wp-hook.php(324): UpdraftPlus_Admin->settings_output(”) #4 C:\{hidden path}\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #5 C:\{hidden path}\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #6 C:\{hidden path}\wp-admin\admin.php(259): do_action(‘settings_page_u…’) #7 C:\{hidden path}\wp-admin\options-general.php(10): require_once(‘C:\\xampp\\htdocs…’) #8 {main} thrown in C:\{hidden path}\wp-content\plugins\updraftplus\admin.php on line 5093
    There has been a critical error on this website.

    Please check your site admin email inbox for instructions.

    I did not receive an email, but this may be because of my local work environment.

    Can you suggest what can be done to allow me to restore my backups again?

    #2212348
    David
    Participant
    This reply has been marked as moderator-only.
    #2213057
    Vanessa
    Moderator

    Can you try downloading installing a fresh copy of UpdraftPlus?
    If this does not help can you deactivate your other plugins to see if this helps? It may be that you have a plugin conflict?

    #2213202
    David
    Participant

    It seems that I had a corrupt database table that was preventing the restore. When I went to follow your instructions today I could not even log in. Following instructions on restoring corrupt tables fixed the problem. I am now able to save and restore backups again. Thank you for your suggestions.

    #2214209
    Vanessa
    Moderator

    I am glad that you have managed to get it working.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Undefined array key “updraft_restore”’ is closed to new replies.