Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #97887
    David
    Guest

    Hello,

    I want to use Total upkeep plugin which I installed today, but it has fatal errors and its not possible to backup.

    : Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php:139 Stack trace: #0 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php(139): fread(false, 4096) #1 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(935): Boldgrid_Backup_Admin_Cli::call_command('crontab -l > /t...', false, 0) #2 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron.php(674): Boldgrid_Backup_Admin_Core->execute_command('crontab -l > /t...', false) #3 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron.php(597): Boldgrid_Backup_Admin_Cron->get_all() #4 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron.php(396): Boldgrid_Backup_Admin_Cron->entry_exists('# Total Upkeep ...') #5 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php(434): Boldgrid_Backup_Admin_Cron->update_cron('# Total Upkeep ...') #6 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-scheduler.php(102): Boldgrid_Backup_Admin_Test->is_crontab_available() #7 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-scheduler.php(69): Boldgrid_Backup_Admin_Scheduler->get_available() #8 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-cron.php(45): Boldgrid_Backup_Admin_Scheduler->get() #9 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-cron.php(59): Boldgrid\Backup\Admin\Cron->get_engine() #10 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/card/feature/class-scheduled-backups.php(37): Boldgrid\Backup\Admin\Cron->get_entry('backup') #11 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Card.php(126): Boldgrid\Backup\Admin\Card\Feature\Scheduled_Backups->init() #12 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/vendor/boldgrid/library/src/Library/Ui/Dashboard.php(61): Boldgrid\Library\Library\Ui\Card->printCard() #13 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/partials/boldgrid-backup-admin-dashboard.php(29): Boldgrid\Library\Library\Ui\Dashboard->printCards() #14 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-dashboard.php(114): include('/data/c/f/cf837...') #15 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/class-wp-hook.php(308): Boldgrid_Backup_Admin_Dashboard->page('') #16 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #17 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-admin/admin.php(259): do_action('toplevel_page_b...') #19 {main} thrown in

    #97913
    Brandon C
    Keymaster

    Hi David,

    Thank you for reaching out with your Total Upkeep questions although I’m sorry to hear you’re having trouble creating backups. I have some questions for you so that we can begin troubleshooting your issue.

    1.) What is your PHP version number?

    2.) What is your WordPress core version?

    3.) How exactly are you attempting to create your backup? (ex: Total Upkeep dashboard, WordPress CLI etc)

    4.) Can you navigate to Preflight Check from your WordPress admin dashboard Total Upkeep > Dashboard > Preflight Check and make sure your site passes the Functionality test.

    You can refer to this guide to check out steps to take when the site check fails. We also have a a detailed list of steps you can take to troubleshoot Total Upkeep backup failure errors.

    I hope this helps David and we look forward to assisting you further with this!

    #97917
    David
    Guest

    Thanks for reply.

    It’s not possible to do preflight check as well, there is this error available:

    Warning: popen(crontab -l > /tmp/boldgrid_backup/crontab 2>/dev/null,r): Permission denied in /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php on line 137
    
    Fatal error: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php:139 Stack trace: #0 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php(139): fread(false, 4096) #1 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(935): Boldgrid_Backup_Admin_Cli::call_command('crontab -l > /t...', false, 0) #2 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron.php(674): Boldgrid_Backup_Admin_Core->execute_command('crontab -l > /t...', false) #3 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron.php(616): Boldgrid_Backup_Admin_Cron->get_all() #4 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cron-test.php(165): Boldgrid_Backup_Admin_Cron->entry_search('/data/c/f/cf837...') #5 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(2889): Boldgrid_Backup_Admin_Cron_Test->is_running() #6 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/class-wp-hook.php(308): Boldgrid_Backup_Admin_Core->page_backup_test('') #7 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #8 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-admin/admin.php(259): do_action('total-upkeep_pa...') #10 {main} thrown in /data/c/f/cf8377f2-6293-4e48-a3cd-7b172316e806/ekoservislm.sk/web/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-cli.php on line 139

    Answers to questions:

    1) php version 8.0
    2) WP version 6.2.2.
    3) tried with dasboard and also with backup tab in the plugin

    #97936
    Brandon C
    Keymaster

    Thanks for that David,

    I think this could be an actual bug. The Boolean false is indicative of an error occurring using popen. We check later down in the code to find if it was false, but the error is happening because fread, the value of popen has already tried to open. That means we probably need to check for that false before we try to fread.

    I feel the root cause of this still could be a server related issue because popenlooks like it’s available but is erroring out, but we could prevent that fatal if we provided a checked before reading it.

    I’ve created the bug ticket for this issue and I’m hoping to have it resolved quickly and go out in the next patch. I’ll be sure to keep you updated here.

    Thank you,
    Brandon C.

    • This reply was modified 1 year, 5 months ago by Brandon C.
    #97979
    David
    Guest

    Hello, thanks for info. I hope it will be fixed soon.

    it’s also impossible to uninstall the plugin

    #97985
    Brandon C
    Keymaster

    Hey David,

    We will definitely get right back to you with an update. You should be able to remove the plugin using FTP or your web hosting accounts file manager. You’d just need to locate the plugins folder for your website and delete the Total Upkeep folder from there.

    Thanks David, we hope to have this resolved for you soon!

    #98632
    David
    Guest

    hello, is there any update regarding this problem? thanks

    #98653
    Brandon C
    Keymaster

    Hi David,

    Thanks for reaching back out. We have come up with a resolution for this issue and it’s currently going through code review so that we can have it implemented immediately. I’ll be sure to let you know the moment that it becomes available or in the case that we have any other updates.

    Thanks so much for your patience and for working with us on this!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Experiencing a backup error with Total Upkeep’ is closed to new replies.