WordPress Hit Counter 2.6

Does WordPress Hit Counter work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
306PHP notices
41PHP deprecation warnings
40Database errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 35.38 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/wordpress-hit-counter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wordpress-hit-counter%2Fimage.php&plugin_status=all&paged=1&s&_wpnonce=d8bd24ed09
Aspect after-activation
HTTP status 200
Load time 0.413 s
Memory usage 2.75 MiB
JS errors None
Resource errors None

Settings → Hit Counter

Page screenshot: Settings → Hit Counter
URL /wp-admin/options-general.php?page=wordpress-hit-counter
Aspect menu-item
HTTP status 200
Load time 5.290 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.093 s
Memory usage N/A
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.959 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.242 s0.505 s+0.263 s2.82 MiB2.86 MiB+ 36.87 KiB
/wp-admin/edit.php0.168 s0.185 s+0.017 s2.86 MiB2.9 MiB+ 37.6 KiB
/wp-admin/post-new.php0.827 s1.054 s+0.227 s5.02 MiB5.07 MiB+ 48.38 KiB
/wp-admin/upload.php0.504 s0.371 s-0.133 s2.7 MiB2.73 MiB+ 36.01 KiB
/wp-admin/options-writing.php0.146 s0.150 s+0.004 s2.71 MiB2.71 MiB+ 4.35 KiB
/wp-admin/media-new.php0.216 s0.167 s-0.049 s2.67 MiB2.71 MiB+ 36.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.174 s-0.007 s2.77 MiB2.81 MiB+ 37.45 KiB
/wp-admin/post-new.php?post_type=page1.017 s0.577 s-0.440 s5.01 MiB5.05 MiB+ 43.96 KiB
/wp-admin/options-discussion.php0.277 s0.252 s-0.025 s2.67 MiB2.71 MiB+ 36.86 KiB
/wp-admin/edit-comments.php0.207 s0.191 s-0.016 s2.78 MiB2.81 MiB+ 35.76 KiB
Average 0.379 s0.363 s-0.016 s3.2 MiB3.24 MiB+ 35.38 KiB

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
Language % Lines of code Comment lines Files
PHP100.0%286402
Total 286 40 2

PHP Code Analysis | More results »

Lines of code 287
Total complexity 53
Median class complexity 12.5
Median method complexity 1.5
Most complex class HitCounter
Most complex function wphc_options()
Classes 2
Methods 8
Functions 7

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 7

Sidebar Widgets 1

ID Name
whitcounterWordPress Hit Counter

PHP Error Log 409 lines

[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; wHitCounter has a deprecated constructor in /wp-content/plugins/wordpress-hit-counter/image.php on line 130
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by activate_plugin, include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] WordPress database error Table 'wordpress.wp_imagecounter' doesn't exist for query SELECT hitcounter, imagename, flag FROM wp_imagecounter made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wordpress-hit-counter/image.php'), perform_install
[10-Mar-2021 16:10:57 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/wordpress-hit-counter/image.php on line 170
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68
[10-Mar-2021 16:10:57 UTC] PHP Notice:  Undefined variable: done in /wp-content/plugins/wordpress-hit-counter/hitcounter_menu.php on line 68

(+309 more lines)
See also: All tests for this plugin