Stats widget 1.0

Does Stats widget work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/stats-widget/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=stats-widget%2Fstats-widget.php&plugin_status=all&paged=1&s&_wpnonce=8321a7a27a
Aspect after-activation
HTTP status 500
Load time 0.294 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
Language % Lines of code Comment lines Files
PHP83.3%65201
CSS16.7%1301
Total 78 20 2

PHP Code Analysis | More results »

Lines of code 66
Total complexity 10
Median class complexity 7.0
Median method complexity 1.5
Most complex class Widget_SiteStats
Most complex function Widget_SiteStats::widget()
Classes 1
Methods 4
Functions 3

Additions

No data available.

PHP Error Log 19 lines

[14-Feb-2024 15:48:51 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /wp-includes/class-wp-widget.php:163
Stack trace:
#0 /wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct()
#1 /wp-includes/widgets.php(115): WP_Widget_Factory->register()
#2 /wp-content/plugins/stats-widget/stats-widget.php(90): register_widget()
#3 /wp-includes/class-wp-hook.php(324): widgets_sitestats()
#4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-includes/widgets.php(1858): do_action()
#7 /wp-includes/class-wp-hook.php(324): wp_widgets_init()
#8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /wp-settings.php(643): do_action()
#11 /wp-config.php(191): require_once('...')
#12 /wp-load.php(50): require_once('...')
#13 /wp-admin/admin.php(34): require_once('...')
#14 /wp-admin/plugins.php(10): require_once('...')
#15 {main}
  thrown in /wp-includes/class-wp-widget.php on line 163
See also: All tests for this plugin