Coupon Affiliates for WooCommerce 5.12.5

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

Summary

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

Memory usage: 435.38 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=8870785a8e
Aspect after-activation
HTTP status 200
Load time 0.633 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.226 s
Memory usage 5.92 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.265 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.660 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.818 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.074 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.384 s0.498 s+0.114 s3.38 MiB3.86 MiB+ 492.37 KiB
/wp-admin/edit.php0.219 s0.251 s+0.032 s3.41 MiB3.89 MiB+ 491.79 KiB
/wp-admin/post-new.php1.042 s0.973 s-0.069 s5.46 MiB5.89 MiB+ 440.24 KiB
/wp-admin/upload.php0.721 s0.369 s-0.352 s3.32 MiB3.72 MiB+ 410.25 KiB
/wp-admin/options-writing.php0.219 s0.535 s+0.316 s3.32 MiB3.71 MiB+ 399.48 KiB
/wp-admin/media-new.php0.327 s0.312 s-0.015 s3.29 MiB3.71 MiB+ 421.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.207 s+0.006 s3.31 MiB3.75 MiB+ 443.94 KiB
/wp-admin/post-new.php?post_type=page0.631 s0.661 s+0.030 s5.45 MiB5.87 MiB+ 435.83 KiB
/wp-admin/options-discussion.php0.343 s0.292 s-0.051 s3.3 MiB3.71 MiB+ 413.01 KiB
/wp-admin/edit-comments.php0.252 s0.360 s+0.108 s3.34 MiB3.73 MiB+ 405.89 KiB
Average 0.434 s0.446 s+0.012 s3.76 MiB4.18 MiB+ 435.38 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.2%75,32525,5629
PHP43.0%59,68119,855201
CSS2.4%3,33110015
JavaScript0.4%542986
Total 138,879 45,615 231

PHP Code Analysis | More results »

Lines of code 52,620
Total complexity 9,554
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 456

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

Meta Boxes

{
    "shop_coupon": {
        "wcusage-meta-box": {
            "title": "Coupon Affiliates",
            "context": "side"
        }
    }
}

Roles 1

ID Name
coupon_affiliateCoupon Affiliate

PHP Error Log 121 lines

[19-Jan-2024 19:12:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:10 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
[19-Jan-2024 19:12:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:10 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
[19-Jan-2024 19:12:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:10 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
[19-Jan-2024 19:12:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:10 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
[19-Jan-2024 19:12:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:11 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
[19-Jan-2024 19:12:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:11 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
[19-Jan-2024 19:12:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:11 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
[19-Jan-2024 19:12:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:11 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
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:12 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
[19-Jan-2024 19:12:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:14 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
[19-Jan-2024 19:12:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:14 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
[19-Jan-2024 19:12:14 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
[19-Jan-2024 19:12:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:15 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
[19-Jan-2024 19:12:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:15 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
[19-Jan-2024 19:12:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:18 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
[19-Jan-2024 19:12:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:18 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
[19-Jan-2024 19:12:21 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
[19-Jan-2024 19:12:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12: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
[19-Jan-2024 19:12:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:26 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
[19-Jan-2024 19:12:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:26 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
[19-Jan-2024 19:12:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:26 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
[19-Jan-2024 19:12:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:26 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:27 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:27 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
[19-Jan-2024 19:12:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:30 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
[19-Jan-2024 19:12:30 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241
[19-Jan-2024 19:12:30 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
[19-Jan-2024 19:12:31 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7241

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