Coupon Affiliates for WooCommerce 5.10.0

Does "Coupon Affiliates for WooCommerce" work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
86PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 410.87 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.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/woo-coupon-usage/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Coupon Affiliates ‹ Test site — WordPress

Page screenshot: Coupon Affiliates ‹ Test site — WordPress
URL /wp-admin/admin.php?page=wcusage
Requested URL /wp-admin/plugins.php?action=activate&plugin=woo-coupon-usage%2Fwoo-coupon-usage.php&plugin_status=all&paged=1&s&_wpnonce=f9587a8c2e
Aspect after-activation
HTTP status 200
Load time 0.634 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Coupon Affiliates

Page screenshot: Coupon Affiliates
URL /wp-admin/admin.php?page=wcusage
Aspect menu-item
HTTP status 200
Load time 1.704 s
Memory usage 8.34 MiB
JS errors None
Resource errors None

Coupon Affiliates → Settings

Page screenshot: Coupon Affiliates → Settings
URL /wp-admin/admin.php?page=wcusage_settings
Aspect menu-item
HTTP status 200
Load time 0.315 s
Memory usage N/A
JS errors None
Resource errors None

Coupon Affiliates → Support Forum

Page screenshot: Coupon Affiliates → Support Forum
URL https://wordpress.org/support/plugin/woo-coupon-usage/
Requested URL /wp-admin/admin.php?page=wcusage-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 1.799 s
Memory usage N/A
JS errors None
Resource errors None

Coupon Affiliates → Upgrade  ➤

Page screenshot: Coupon Affiliates → Upgrade  ➤
URL /wp-admin/admin.php?page=wcusage-pricing
Aspect menu-item
HTTP status 200
Load time 2.464 s
Memory usage 3.75 MiB
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.324 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.506 s0.579 s+0.073 s3.38 MiB3.85 MiB+ 485.36 KiB
/wp-admin/edit.php0.260 s0.295 s+0.035 s3.41 MiB3.88 MiB+ 484.79 KiB
/wp-admin/upload.php0.671 s0.405 s-0.266 s3.32 MiB3.72 MiB+ 403.25 KiB
/wp-admin/options-writing.php0.262 s0.252 s-0.010 s3.32 MiB3.7 MiB+ 392.47 KiB
/wp-admin/media-new.php0.378 s0.351 s-0.027 s3.29 MiB3.7 MiB+ 414.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.233 s+0.008 s3.31 MiB3.74 MiB+ 436.94 KiB
/wp-admin/options-discussion.php0.389 s0.272 s-0.117 s3.3 MiB3.7 MiB+ 406.01 KiB
/wp-admin/edit-comments.php0.286 s0.238 s-0.048 s3.34 MiB3.72 MiB+ 398.89 KiB
/0.350 s0.244 s-0.106 s3.36 MiB3.63 MiB+ 276.1 KiB
Average 0.370 s0.319 s-0.051 s3.34 MiB3.74 MiB+ 410.87 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.

PHP
PO File
Language % Lines of code Comment lines Files
PHP50.0%58,46319,678199
PO File46.8%54,68719,2667
CSS2.8%3,2819915
JavaScript0.4%507876
XML0.0%1601
Total 116,954 39,130 228

PHP Code Analysis | More results »

Lines of code 51,337
Total complexity 9,316
Median class complexity 21.0
Median method complexity 2.0
Most complex class Freemius
Most complex function wcusage_show_latest_orders_table()
Classes 55
Methods 1,310
Functions 445

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.

Database Tables 3

Options wp_options 11

Roles 1

ID Name
coupon_affiliateCoupon Affiliate

PHP Error Log 121 lines

[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[10-Nov-2023 15:16:21 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/woo-coupon-usage/inc/functions/functions-shortcode-page.php on line 55
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:25 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_order_statuses() in /wp-content/plugins/woo-coupon-usage/inc/admin/settings/options-general.php:731
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): wcusage_setting_section_ordersalestracking()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/woo-coupon-usage/inc/admin/settings/options-general.php(46): do_action()
#4 /wp-admin/includes/template.php(1836): wcusage_field_cb()
#5 /wp-admin/includes/template.php(1790): do_settings_fields()
#6 /wp-content/plugins/woo-coupon-usage/inc/admin/settings/admin-options.php(884): do_settings_sections()
#7 /wp-includes/class-wp-hook.php(324): wcusage_options_page_html()
#8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /wp-admin/admin.php(259): do_action()
#11 {main}
  thrown in /wp-content/plugins/woo-coupon-usage/inc/admin/settings/options-general.php on line 731
[10-Nov-2023 15:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:33 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:33 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:33 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_container() in /wp-content/plugins/woo-coupon-usage/inc/admin/admin-orders-box.php:12
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): wcusage_add_custom_box()
#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/meta-boxes.php(1714): do_action()
#4 /wp-admin/edit-form-blocks.php(276): register_and_do_post_meta_boxes()
#5 /wp-admin/post-new.php(72): require('...')
#6 {main}
  thrown in /wp-content/plugins/woo-coupon-usage/inc/admin/admin-orders-box.php on line 12
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:36 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[10-Nov-2023 15:16:36 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2187
[10-Nov-2023 15:16:36 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_container() in /wp-content/plugins/woo-coupon-usage/inc/admin/admin-orders-box.php:12
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): wcusage_add_custom_box()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()

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