Title: Critical Error
Last modified: November 27, 2022

---

# Critical Error

 *  Resolved [eaprod](https://wordpress.org/support/users/eaprod/)
 * (@eaprod)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-438/)
 * Your plugin does not update number_of_backups_from_user properly. We had 2 existing
   backups & I manually created a backup on the 25th prior to the following automated
   scheduling error kicking off. Once the automated scheduler fired off, it was 
   probably trying to read a NULL value.
 * This plugin resulted causing the issue with the white page with the text site
   has a critical error as has been previously reported. I hope this is resolved
   quickly or I will need to investigate alternative plugins, I can’t risk my sites
   being taken down in this way.
 *     ```
       [25-Nov-2022 14:13:29 UTC] Class ZipArchive
   
       [25-Nov-2022 14:13:30 UTC] number_of_existing_backups
   
       [25-Nov-2022 14:13:30 UTC] 2
   
       [25-Nov-2022 14:13:30 UTC] number_of_backups_from_user
   
       [25-Nov-2022 14:13:30 UTC]
   
       [25-Nov-2022 14:23:22 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php:2018
   
       Stack trace:
   
       #0 wp-includes/class-wp-hook.php(308): WPDB_Admin->wp_db_backup_scheduler_activation(Object(WP))
   
       #1 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
   
       #2 wp-includes/plugin.php(565): WP_Hook->do_action(Array)
   
       #3 wp-includes/class-wp.php(797): do_action_ref_array('wp', Array)
   
       #4 wp-includes/functions.php(1332): WP->main('')
   
       #5 wp-blog-header.php(16): wp()
   
       #6 index.php(17): require('/home/$domain/...')
   
       #7 {main}
   
         thrown in /wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php on line 2018
   
       [25-Nov-2022 14:24:04 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php:2018
   
       Stack trace:
   
       #0 wp-includes/class-wp-hook.php(308): WPDB_Admin->wp_db_backup_scheduler_activation(Object(WP))
   
       #1 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
   
       #2 wp-includes/plugin.php(565): WP_Hook->do_action(Array)
   
       #3 wp-includes/class-wp.php(797): do_action_ref_array('wp', Array)
   
       #4 wp-includes/functions.php(1332): WP->main('')
   
       #5 /wp-blog-header.php(16): wp()
   
       #6 /index.php(17): require('/home//...')
   
       #7 {main}
   
         thrown in /wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-admin.php on line 2018
       ```
   
    -  This topic was modified 3 years, 5 months ago by [eaprod](https://wordpress.org/support/users/eaprod/).

Viewing 1 replies (of 1 total)

 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-438/#post-16256730)
 * Hi,
 * We have try to reproduce issue but it’s seems working fine.
 * Can you please share your site PHP, WordPress, WP Database Backup version so 
   that we can reproduce issue.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Critical Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-database-backup/assets/icon-256x256.png?rev=2838048)
 * [WP Database Backup - Unlimited Database & Files Backup by Backup for WP](https://wordpress.org/plugins/wp-database-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-database-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-database-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-database-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-database-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-database-backup/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-438/#post-16256730)
 * Status: resolved