Coupon Affiliates for WooCommerce 5.12.0

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

Summary

Errors
5PHP fatal errors
86PHP deprecation warnings
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 431.74 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,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=023bb9dc52
Aspect after-activation
HTTP status 200
Load time 0.539 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.522 s
Memory usage 8.52 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.227 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.598 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 1.786 s
Memory usage 3.76 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.064 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.403 s+0.078 s3.38 MiB3.86 MiB+ 489.38 KiB
/wp-admin/edit.php0.200 s0.242 s+0.042 s3.41 MiB3.88 MiB+ 488.81 KiB
/wp-admin/upload.php0.707 s0.349 s-0.358 s3.32 MiB3.72 MiB+ 407.27 KiB
/wp-admin/options-writing.php0.237 s0.222 s-0.015 s3.32 MiB3.7 MiB+ 396.5 KiB
/wp-admin/media-new.php0.325 s0.311 s-0.014 s3.29 MiB3.7 MiB+ 418.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.195 s-0.012 s3.31 MiB3.74 MiB+ 440.96 KiB
/wp-admin/options-discussion.php0.308 s0.218 s-0.090 s3.3 MiB3.7 MiB+ 410.03 KiB
/wp-admin/edit-comments.php0.236 s0.259 s+0.023 s3.33 MiB3.73 MiB+ 402.91 KiB
Average 0.318 s0.275 s-0.043 s3.33 MiB3.75 MiB+ 431.74 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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File54.3%75,32525,5629
PHP42.9%59,44319,833201
CSS2.4%3,3199915
JavaScript0.4%542986
Total 138,629 45,592 231

PHP Code Analysis | More results »

Lines of code 52,381
Total complexity 9,488
Median class complexity 20.0
Median method complexity 2.0
Most complex class Freemius
Most complex function wcusage_show_latest_orders_table()
Classes 58
Methods 1,327
Functions 455

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 141 lines

[08-Dec-2023 07:25:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:45 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
[08-Dec-2023 07:25:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:45 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
[08-Dec-2023 07:25:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:45 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
[08-Dec-2023 07:25:45 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:45 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
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 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 56
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:46 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:46 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
[08-Dec-2023 07:25:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:47 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
[08-Dec-2023 07:25:47 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:47 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
[08-Dec-2023 07:25:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:49 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
[08-Dec-2023 07:25:49 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:49 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
[08-Dec-2023 07:25:49 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:779
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(45): 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(891): 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 779
[08-Dec-2023 07:25:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:50 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
[08-Dec-2023 07:25:50 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:50 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
[08-Dec-2023 07:25:52 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:52 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
[08-Dec-2023 07:25:52 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:52 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
[08-Dec-2023 07:25:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_account_page() in /wp-content/plugins/woo-coupon-usage/inc/functions/functions-general.php:94
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): wcusage_fix_cache()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/template-loader.php(13): do_action()
#4 /wp-blog-header.php(19): require_once('...')
#5 /index.php(17): require('...')
#6 {main}
  thrown in /wp-content/plugins/woo-coupon-usage/inc/functions/functions-general.php on line 94
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:56 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:56 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
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:57 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
[08-Dec-2023 07:25:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[08-Dec-2023 07:25:58 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
[08-Dec-2023 07:25:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241

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