Home
DH – Anti AdBlocker
42
Does DH - Anti AdBlocker work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on 2023-01-20 11:53:50 UTC .
Summary
Errors
The plugin could not be activated
3 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.1.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 1 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin=dh-anti-adblocker%2Fdh-anti-adblocker.php
Requested URL
/wp-admin/plugins.php?action=activate&plugin=dh-anti-adblocker%2Fdh-anti-adblocker.php&plugin_status=all&paged=1&s&_wpnonce=a301626e8b
Aspect
after-activation
HTTP status
200
Load time
0.645 s
Memory usage
3 MiB
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.
Language
%
Lines of code
Comment lines
Files
CSS 49.1% 27,283 4,292 52 JavaScript 43.2% 23,999 973 28 SVG 5.2% 2,880 12 3 PHP 2.2% 1,199 663 12 PO File 0.4% 246 128 2
Total
55,607
6,068
97
Lines of code
1,231
Total complexity
121
Median class complexity
5.0
Median method complexity
1.0
Most complex class
DH_Anti_AdBlocker_Admin
Most complex function
dhadb_footer()
Classes
7
Methods
33
Functions
10
Additions
No data available.
PHP Error Log 28 lines [20-Jan-2023 11:54:15 UTC] PHP Fatal error: Uncaught Error: Non-static method DH_Anti_AdBlocker_Activator::generateRandomString() cannot be called statically in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php:49
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(65): DH_Anti_AdBlocker_Activator::activate()
#1 /wp-includes/class-wp-hook.php(308): activate_DH_Anti_AdBlocker()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/includes/plugin.php(691): do_action()
#5 /wp-admin/plugins.php(58): activate_plugin()
#6 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php on line 49
[20-Jan-2023 11:54:15 UTC] PHP Fatal error: Uncaught Error: Non-static method DH_Anti_AdBlocker_Activator::generateRandomString() cannot be called statically in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php:49
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(65): DH_Anti_AdBlocker_Activator::activate()
#1 /wp-includes/class-wp-hook.php(308): activate_DH_Anti_AdBlocker()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/plugins.php(194): do_action()
#5 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php on line 49
[20-Jan-2023 11:54:15 UTC] PHP Fatal error: Uncaught Error: Non-static method DH_Anti_AdBlocker_Activator::generateRandomString() cannot be called statically in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php:49
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(65): DH_Anti_AdBlocker_Activator::activate()
#1 /wp-includes/class-wp-hook.php(308): activate_DH_Anti_AdBlocker()
#2 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/plugins.php(194): do_action()
#5 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php on line 49