Bonus for Woo 6.1.0

Does Bonus for Woo work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.4.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/bonus-for-woo/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=bonus-for-woo%2Findex.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=bonus-for-woo%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=e45e27d16d
Aspect after-activation
HTTP status 200
Load time 0.269 s
Memory usage 3.32 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.

PHP
JavaScript
CSS
PO File
Language % Lines of code Comment lines Files
PHP39.6%5,5071,23024
JavaScript27.2%3,78197711
CSS21.0%2,9197410
PO File10.7%1,4908692
SVG1.6%226122
Total 13,923 3,151 69

PHP Code Analysis | More results »

Lines of code 4,948
Total complexity 768
Median class complexity 26.5
Median method complexity 2.0
Most complex class BfwAdmin
Most complex function BfwAdmin::bonus_plugin_options()
Classes 14
Methods 207
Functions 5

Additions

No data available.

PHP Error Log 9 lines

[06-Mar-2024 12:00:46 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/bonus-for-woo/classes/BfwFunctions.php:41
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): BfwFunctions::bfwActivate()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(693): do_action()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/bonus-for-woo/classes/BfwFunctions.php on line 41
See also: All tests for this plugin