Dashboard crash with PHP8.1
-
Plugin version: 5.0.10.2
WP version: 6.3.1
The plugin works smooth with PHP7.4 but when switched to PHP8.1 the dashboard crash with:
PHP Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /wp-includes/functions.php/wp-includes/functions.php(424) Stack trace: #0 /wp-includes/functions.php(424): number_format() #1 /wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php(1140): number_format_i18n() #2 /wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php(959): wp_slimstat_reports::raw_results_to_html() #3 /wp-admin/includes/template.php(1443): wp_slimstat_reports::callback_wrapper() #4 /wp-admin/includes/dashboard.php(271): do_meta_boxes() #5 /wp-admin/index.php(203): wp_dashboard() #6 {main} thrown in /wp-includes/functions.php on line 424
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Dashboard crash with PHP8.1’ is closed to new replies.