Home
NinjaFirewall (WP Edition) – Advanced Security Plugin and Firewall
4.7.1
Does NinjaFirewall (WP Edition) work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on 2024-11-27 06:48:00 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.7.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=ninjafirewall%2Fninjafirewall.php
Requested URL
/wp-admin/plugins.php?action=activate&plugin=ninjafirewall%2Fninjafirewall.php&plugin_status=all&paged=1&s&_wpnonce=24021379af
Aspect
after-activation
HTTP status
200
Load time
0.271 s
Memory usage
3.49 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
PHP 61.5% 10,315 3,623 44 PO File 31.8% 5,328 3,776 1 JavaScript 4.4% 741 109 2 CSS 2.3% 391 21 1 HTML 0.0% 3 0 3
Total
16,778
7,529
51
Lines of code
11,173
Total complexity
1,815
Median class complexity
11.0
Median method complexity
2.0
Most complex class
NinjaFirewall_session
Most complex function
nf_sub_policies_save()
Classes
3
Methods
16
Functions
200
Additions
No data available.
PHP Error Log 10 lines [27-Nov-2024 06:48:16 UTC] PHP Fatal error: Uncaught Error: Undefined constant "NFW_DEFAULT_MSG" in /wp-content/plugins/ninjafirewall/lib/install_default.php:38
Stack trace:
#0 /wp-content/plugins/ninjafirewall/ninjafirewall.php(174): nfw_load_default_conf()
#1 /wp-includes/class-wp-hook.php(324): nfw_activate()
#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/includes/plugin.php(703): do_action()
#5 /wp-admin/plugins.php(60): activate_plugin()
#6 {main}
thrown in /wp-content/plugins/ninjafirewall/lib/install_default.php on line 38