WP Defender 3.0

Does WP Defender work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: -47.75 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 version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60,000+
WordPress.org page https://wordpress.org/plugins/wp-defender/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-defender%2Finit.php&plugin_status=all&paged=1&s&_wpnonce=3848708bce
Aspect after-activation
HTTP status 500
Load time 0.761 s
Memory usage N/A
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.210 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/0.313 s0.160 s-0.153 s3.42 MiB3.37 MiB- 47.75 KiB
Average 0.313 s0.160 s-0.153 s3.42 MiB3.37 MiB- 47.75 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.

JavaScript
CSS
Language % Lines of code Comment lines Files
JavaScript83.0%4,2292,2013
CSS10.2%519788
PHP6.8%345322
Total 5,093 2,311 13

PHP Code Analysis | More results »

Lines of code 347
Total complexity 38
Median class complexity 24.0
Median method complexity 2.0
Most complex class WPDSecurityOptions
Most complex function WPDSecurityOptions::wp_defender_enableSecurity()
Classes 1
Methods 4
Functions 5

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.

No new entries found.

PHP Error Log 156 lines

[10-Apr-2024 06:04:39 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:39 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/plugins.php(624): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:39 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:39 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/index.php(137): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:40 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:40 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/index.php(137): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:40 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:40 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/edit.php(411): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:40 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:40 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/edit-form-blocks.php(309): require_once('...')
#6 /wp-admin/post-new.php(72): require('...')
#7 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:41 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:41 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/upload.php(206): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:41 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:41 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/options-writing.php(59): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:41 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:41 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/media-new.php(65): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179
[10-Apr-2024 06:04:41 UTC] PHP Notice:  Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.3.0.) in /wp-includes/functions.php on line 6078
[10-Apr-2024 06:04:41 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function wp_register_script(), 1 passed in /wp-content/plugins/wp-defender/init.php on line 47 and at least 2 expected in /wp-includes/functions.wp-scripts.php:179
Stack trace:
#0 /wp-content/plugins/wp-defender/init.php(47): wp_register_script()
#1 /wp-includes/class-wp-hook.php(324): {closure}()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-header.php(118): do_action()
#5 /wp-admin/edit-tags.php(319): require_once('...')
#6 {main}
  thrown in /wp-includes/functions.wp-scripts.php on line 179

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