• Hi there,

    When I try to backup my sites via scheduled backup it throws the following message when I use PHP 8 on this site:

    PHP Fatal error occurred: Uncaught ValueError: fread(): Argument #2 ($length) must be greater than 0 in /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php:3443 Stack trace: #0 /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php(3443): fread(Resource id #11344, 0) #1 /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php(3236): IWPPclZip->privAddFile(Array, Array, Array) #2 /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php(2967): IWPPclZip->privAddFileList(Array, Array, Array) #3 /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php(1023): IWPPclZip->privAdd(Array, Array, Array) #4 /absolute/path/wp-content/plugins/iwp-client/backup.class.singlecall.php(888): IWPPclZip->add(Array, 77003, '/absolute/path/...', 77999, Array, 77020, 1) #5 /absolute/path/wp-content/plugins/iwp-client/backup.class.singlecall.php(757): IWP_MMB_Backup_Singlecall->fail_safe_pcl_files('fb6fca68a2c9b09...', '/absolute/path/...', Array, Array, '1', NULL, Array, Array) #6 /absolute/path/wp-content/plugins/iwp-client/backup.class.singlecall.php(327): IWP_MMB_Backup_Singlecall->backup_files_alone('fb6fca68a2c9b09...', '/absolute/path/...', Array, Array, '-0', 50, Array) #7 /absolute/path/wp-content/plugins/iwp-client/backup.class.singlecall.php(180): IWP_MMB_Backup_Singlecall->backup(Array, 'fb6fca68a2c9b09...') #8 /absolute/path/wp-content/plugins/iwp-client/init.php(875): IWP_MMB_Backup_Singlecall->set_backup_task(Array) #9 /absolute/path/wp-content/plugins/iwp-client/core.class.php(300): iwp_mmb_run_task_now(Array) #10 /absolute/path/wp-includes/class-wp-hook.php(292): IWP_MMB_Core->iwp_mmb_remote_action('') #11 /absolute/path/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #12 /absolute/path/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #13 /absolute/path/wp-settings.php(560): do_action('init') #14 /absolute/path/wp-config.php(101): require_once('/absolute/path/...') #15 /absolute/path/wp-load.php(37): require_once('/absolute/path/...') #16 {main} thrown in /absolute/path/wp-content/plugins/iwp-client/pclzip.class.php on line 3443.

    When I run the backup manually via IWP panel, it works fine.

    Any ideas?

    • This topic was modified 3 years, 4 months ago by Michael.
Viewing 1 replies (of 1 total)
  • Plugin Author infinitewp

    (@infinitewp)

    Hi Michael,

    Thank you for reaching out to us here with the error message. Could you please write an email to help at infinitewp dot com? Our technical support team will assist you further in getting this error sorted out ASAP.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Automatic backup fails with PHP 8’ is closed to new replies.