Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to restore backups on some GoDaddy accounts #184

Open
joe9663 opened this issue Jan 2, 2020 · 1 comment · May be fixed by #201
Open

[Bug] Unable to restore backups on some GoDaddy accounts #184

joe9663 opened this issue Jan 2, 2020 · 1 comment · May be fixed by #201
Assignees

Comments

@joe9663
Copy link
Contributor

joe9663 commented Jan 2, 2020

Describe the bug
Some GoDaddy accounts cannot restore backups, 500 error produced when trying to run the restoration.

Fatal error: Uncaught Error: Class 'ZipArchive' not found in /home/user/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-restore-helper.php:242
Stack trace:
#0 /home/user/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(2180): Boldgrid_Backup_Admin_Restore_Helper->set_writable_permissions('/home/yneisrpij...')
#1 /home/user/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(2682): Boldgrid_Backup_Admin_Core->restore_archive_file()
#2 /home/user/public_html/wp-includes/class-wp-hook.php(288): Boldgrid_Backup_Admin_Core->wp_ajax_restore('')
#3 /home/user/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
#4 /home/user/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/user/public_html/wp-admin/admin-ajax.php(175): do_action('wp_ajax_boldgri...')
#6 {main} thrown in /home/user/public_html/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-restore-helper.php on line 242

Expected behavior
If ZipArchive is not available on the server then Total Upkeep should at least report to users that the required functionality is not available to restore a backup.

@joe9663
Copy link
Contributor Author

joe9663 commented Jan 2, 2020

Enabling the zip extension in the server PHP version settings fixed the problem and restorations now run successfully.

@jamesros161 jamesros161 linked a pull request Jan 27, 2020 that will close this issue
@jamesros161 jamesros161 self-assigned this Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants