Does DH - Anti AdBlocker work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
4 | PHP fatal errors |
1 | PHP warnings |
3 | PHP deprecation warnings |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 12.27 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.
WordPress version | 6.1.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 400+ |
WordPress.org page | https://wordpress.org/plugins/dh-anti-adblocker/ |
Badges |
Get badge code |
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=dh-anti-adblocker%2Fdh-anti-adblocker.php&plugin_status=all&paged=1&s&_wpnonce=275ed05134 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.498 s |
Memory usage | 3.02 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=dh-anti-adblocker |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.397 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 500 |
Load time | 0.055 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.335 s | 0.261 s | -0.074 s | 3.05 MiB | 3.07 MiB | + 20.62 KiB |
/wp-admin/edit.php | 0.214 s | 0.204 s | -0.010 s | 3.08 MiB | 3.1 MiB | + 20.62 KiB |
/wp-admin/post-new.php | 0.893 s | 0.990 s | +0.097 s | 4.97 MiB | 4.99 MiB | + 24.98 KiB |
/wp-admin/upload.php | 0.846 s | 0.282 s | -0.564 s | 2.99 MiB | 3 MiB | + 3.21 KiB |
/wp-admin/options-writing.php | 0.182 s | 0.158 s | -0.024 s | 2.99 MiB | 2.98 MiB | - 10.14 KiB |
/wp-admin/media-new.php | 0.297 s | 0.268 s | -0.029 s | 2.97 MiB | 2.98 MiB | + 15.4 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.195 s | 0.195 s | +0.000 s | 2.98 MiB | 3 MiB | + 20.57 KiB |
/wp-admin/post-new.php?post_type=page | 0.697 s | 0.890 s | +0.193 s | 4.96 MiB | 4.98 MiB | + 20.57 KiB |
/wp-admin/options-discussion.php | 0.236 s | 0.259 s | +0.023 s | 2.98 MiB | 2.98 MiB | + 3.7 KiB |
/wp-admin/edit-comments.php | 0.213 s | 0.227 s | +0.014 s | 3 MiB | 3 MiB | + 3.2 KiB |
Average | 0.411 s | 0.373 s | -0.037 s | 3.4 MiB | 3.41 MiB | + 12.27 KiB |
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.1% | 1,178 | 660 | 12 | |
PO File | 0.4% | 246 | 128 | 2 | |
Total | 55,586 | 6,065 | 97 |
Lines of code | 1,210 |
---|---|
Total complexity | 118 |
Median class complexity | 4.0 |
Median method complexity | 1.0 |
Most complex class | dh-anti-adblocker\dh-anti-adblocker/admin\DH_Anti_AdBlocker_Admin |
Most complex function | dhadb_footer() |
Classes | 7 |
---|---|
Methods | 32 |
Functions | 10 |
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.
wp_options
3[20-Jan-2023 11:59:34 UTC] PHP Warning: Undefined variable $dhadb_token in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php on line 50
[20-Jan-2023 11:59:34 UTC] PHP Deprecated: str_shuffle(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-activator.php on line 50
[20-Jan-2023 11:59:36 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/dh-anti-adblocker/admin/partials/dh-anti-adblocker-admin-display.php:210
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/admin/class-dh-anti-adblocker-admin.php(175): include_once()
#1 /wp-includes/class-wp-hook.php(308): DH_Anti_AdBlocker_Admin->display_plugin_setup_page()
#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/admin.php(259): do_action()
#5 /wp-admin/options-general.php(10): require_once('...')
#6 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/admin/partials/dh-anti-adblocker-admin-display.php on line 210
[20-Jan-2023 11:59:37 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
[20-Jan-2023 11:59:37 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/dh-anti-adblocker/public/class-dh-anti-adblocker-public.php:130
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): DH_Anti_AdBlocker_Public->enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2180): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3043): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/public/class-dh-anti-adblocker-public.php on line 130
[20-Jan-2023 11:59:45 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /wp-content/plugins/dh-anti-adblocker/public/partials/dh-anti-adblocker-public-display.php on line 360
[20-Jan-2023 11:59:45 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/dh-anti-adblocker/public/class-dh-anti-adblocker-public.php:130
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): DH_Anti_AdBlocker_Public->enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2180): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3043): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(783): require_once('...')
#10 /wp-includes/template.php(718): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/public/class-dh-anti-adblocker-public.php on line 130
[20-Jan-2023 11:59:45 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php:37
Stack trace:
#0 /wp-content/plugins/dh-anti-adblocker/dh-anti-adblocker.php(74): DH_Anti_AdBlocker_Deactivator::deactivate()
#1 /wp-includes/class-wp-hook.php(308): deactivate_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(814): do_action()
#5 /wp-admin/plugins.php(209): deactivate_plugins()
#6 {main}
thrown in /wp-content/plugins/dh-anti-adblocker/includes/class-dh-anti-adblocker-deactivator.php on line 37