Bonus for Woo 5.9.3

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=f143a04380
Aspect after-activation
HTTP status 200
Load time 0.322 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.8%5,5071,03828
JavaScript27.3%3,78197711
CSS20.4%2,8187410
PO File10.8%1,4908692
SVG1.7%234120
Total 13,830 2,959 71

PHP Code Analysis | More results »

Lines of code 4,946
Total complexity 746
Median class complexity 22.5
Median method complexity 2.0
Most complex class BfwAdmin
Most complex function BfwAdmin::bonus_plugin_options()
Classes 8
Methods 140
Functions 72

Additions

No data available.

PHP Error Log 7 lines

[13-Feb-2024 22:57:01 UTC] PHP Fatal error:  Uncaught Error: Call to a member function add_cap() on null in /wp-content/plugins/bonus-for-woo/index.php:679
Stack trace:
#0 /wp-admin/includes/plugin.php(2318): include_once()
#1 /wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
#2 /wp-admin/plugins.php(58): activate_plugin()
#3 {main}
  thrown in /wp-content/plugins/bonus-for-woo/index.php on line 679
See also: All tests for this plugin