Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float
-
Hi there,
I just drop to PHP 8.0 & WP 5.9 and I’m in front of this error on my logs:Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in ~/wp-content/plugins/simple-blog-stats/simple-blog-stats.php:814 Stack trace: #0 ~/wp-content/plugins/simple-blog-stats/simple-blog-stats.php(814): number_format() #1 ~/wp-content/plugins/simple-blog-stats/simple-blog-stats.php(1028): sbs_word_count_all() #2 ~/wp-includes/shortcodes.php(356): sbs_blog_stats() #3 [internal function]: do_shortcode_tag() #4 ~/wp-includes/shortcodes.php(228): preg_replace_callback() #5 ~/wp-content/plugins/simple-blog-stats/simple-blog-stats.php(1054): do_shortcode() #6 ~/wp-admin/includes/template.php(1395): sbs_dashboard_widget_stats() #7 ~/wp-admin/includes/dashboard.php(268): do_meta_boxes() #8 ~/wp-admin/index.php(203): wp_dashboard() #9 {main} thrown
Thank you for your help!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float’ is closed to new replies.