Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40562
    Arta
    Guest

    I have a problem, which my website can not make backup or restor.
    there came this eror:
    Fatal error: Uncaught Error: Call to undefined function disk_total_space() in /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php:628 Stack trace: #0 /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-core.php(2799): Boldgrid_Backup_Admin_Test->get_disk_space() #1 /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-includes/class-wp-hook.php(292): Boldgrid_Backup_Admin_Core->page_backup_test(”) #2 /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array) #3 /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-admin/admin.php(259): do_action(‘total-upkeep_pa…’) #5 {main} thrown in /customers/0/b/f/zafrankoekken.dk/httpd.www/wp-content/plugins/boldgrid-backup/admin/class-boldgrid-backup-admin-test.php on line 628

    #40568
    Jesse Owens
    Keymaster

    Hello Arta-

    Thanks for the question, and thanks for using the Total Upkeep WordPress backup plugin.

    That’s a pretty unusual error. The disk_total_space() function is a part of PHP’s core functionality and it looks like you’re on PHP 8.0.8 which is up-to-date. disk_total_space() isn’t even an optional Apache module, it should be in the main PHP package.

    Have you been using the plugin successfully before this error, or is it newly installed?

    One thing we might want to do a simple sanity check, like creating a small PHP file and executing it manually from the command line. A file like this, named disk-check.php for example:

    <?php echo disk_total_space( __DIR__ ); ?>
    

    And then execute it from the command line, with a command like:

    $ php ./disk-check.php
    236080816128
    

    In the example I used, I found I have 236GB total space in the directory I created the file in.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Functionality test has failed. Fatal error: Uncaught Error: Call to undefined function disk_total_space()’ is closed to new replies.