Title: Fatal error call to undefined function format_size
Last modified: August 30, 2016

---

# Fatal error call to undefined function format_size

 *  Resolved [lakenjr](https://wordpress.org/support/users/lakenjr/)
 * (@lakenjr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/)
 * Lovely plugin – nice and simple to use. Thank you.
 * Unfortunately I have encountered a problem with version 2.4 of the plugin.
 * When I try to run “create new database backup” I just see a white screen (after
   a couple of seconds).
 * Database information > Tables information shows the following error message.
 * **Fatal error: Call to undefined function format_size()** in ………./public_html/
   jetlagandmayhem/wp-content/plugins/wp-database-backup/includes/admin/class-wpdb-
   admin.php on line 406
 * ====================================
    PHP version 5.3.29 MySQL version 5.5.42-
   37.1 Graphene theme I also have the plugin BackWpUp installed (I believe in multiple
   backups – also your plugin offers the fastest/easiest way to restore a saved 
   database after a problem).
 * website is [http://www.jetlagandmayhem.com](http://www.jetlagandmayhem.com)
 * [https://wordpress.org/plugins/wp-database-backup/](https://wordpress.org/plugins/wp-database-backup/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227814)
 * Hi,
 * Thanks for your kind of words.
 * We have resolved this issue in v.3.0.
 * Please update plugin and let me know in case any issue.
 *  Thread Starter [lakenjr](https://wordpress.org/support/users/lakenjr/)
 * (@lakenjr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227866)
 * I still have a problem and am **unable to create backups with this plugin on 
   one of my websites**. “When I try to run “create new database backup” I just 
   see a white screen (after a couple of seconds).”
 * Database information > Tables information now shows the tables – so the **fatal
   error problem has been resolved**.
 * Using wordpress 4.2.2 and Version 3.1 of WP Database Backup (I deleted old version
   and did a clean install)
 * website [http://www.jetlagandmayhem.com](http://www.jetlagandmayhem.com) – backups
   do NOT WORK
    website [http://www.papamayhem.com](http://www.papamayhem.com) –
   backups DO WORK PROPERLY
 *  Thread Starter [lakenjr](https://wordpress.org/support/users/lakenjr/)
 * (@lakenjr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227879)
 * I have emailed the details as requested
 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227890)
 * Hi,
 * We have resolved format_size issue in latest WP Database backup plugin.
 * Please install latest plugin and let me know in case issue.
 * Happy to help!
 *  Thread Starter [lakenjr](https://wordpress.org/support/users/lakenjr/)
 * (@lakenjr)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227891)
 * Thanks for help so far. Unfortunately, I still have “the white screen problem”
   and am unable to create backups with this plugin on one of my websites.
 * **When I try to run “create new database backup” I just see a white screen (after
   a couple of seconds).**
 * Using wordpress 4.2.3 and Version 3.2 of WP Database Backup (I deleted old version
   of the plugin and did a clean install)
 * website [http://www.jetlagandmayhem.com](http://www.jetlagandmayhem.com) – backups
   do NOT WORK
    website [http://www.papamayhem.com](http://www.papamayhem.com) –
   backups DO WORK PROPERLY
 *  Thread Starter [lakenjr](https://wordpress.org/support/users/lakenjr/)
 * (@lakenjr)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227895)
 * Thanks for the interest you are taking in resolving this. **Is there any way 
   that you can display a progress indicator in place of the white screen?**
 * You are probably right to suspect database size as the problem.. However I did
   wait for 5 minutes before abandoning.
    My website [http://www.papamayhem.com](http://www.papamayhem.com)–(
   backups DO WORK PROPERLY) has a **database size of 64mb**
 * My website [http://www.jetlagandmayhem.com](http://www.jetlagandmayhem.com) –(
   backups do NOT WORK)
    has a **database size of 176mb** (which I assume is not
   huge for an operational site).
 * ———————————————————
    I have emailed the admin detail to Prashant. As a user of
   a shared hosting service, I dont think I am able to change htaccess OR php.ini
   execution limits.
 * I dont want to ask the hosting service to increase execution time. That is not
   required for anything else that I do – whatever limit is “in force” protects 
   me against runaway jobs – so I dont want to increase that.
 * I did change wp-config.php as suggested – but that did not help.
 * error_log does not contain anything for this time.
 *  [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227920)
 * Hope you are doing well.
 * Let me know in case any issue.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error call to undefined function format_size’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-format_size/#post-6227920)
 * Status: resolved