• Upgraded to wordpress 6.0 and got the following error.

    Fatal error: Uncaught DivisionByZeroError: Division by zero in /wwwroot/test/wp-includes/functions.php:493 Stack trace: #0 /wwwroot/test/wp-admin/includes/class-wp-debug-data.php(565): size_format() #1 /wwwroot/test/wp-admin/site-health-info.php(32): WP_Debug_Data::debug_data() #2 /wwwroot/test/wp-admin/includes/class-wp-site-health.php(66): require_once('...') #3 /wwwroot/test/wp-includes/class-wp-hook.php(307): WP_Site_Health->show_site_health_tab() #4 /wwwroot/test/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /wwwroot/test/wp-includes/plugin.php(476): WP_Hook->do_action() #6 /wwwroot/test/wp-admin/site-health.php(205): do_action() #7 {main} thrown in /wwwroot/test/wp-includes/functions.php on line 493

    Functions in 493 code:

    return number_format_i18n( $bytes / $mag, $decimals ) . ' ' . $unit;

    Site configuration:
    php8.0.3
    nginx/1.18.0
    Linux 3.10.0-1127.19.1.el7.x86_64 x86_64

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress6.0 Fatal error: Uncaught DivisionByZeroError’ is closed to new replies.