Coupon Affiliates for WooCommerce 5.14.1

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

Summary

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

Memory usage: 449.72 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.5
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=16a6bfddd3
Aspect after-activation
HTTP status 200
Load time 0.703 s
Memory usage 3.99 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.674 s
Memory usage 5.98 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.600 s
Memory usage N/A
JS errors
[
    {
        "message": "TypeError: $(...).sortable is not a function\n    at HTMLDocument.<anonymous> (/wp-admin/admin.php?page=wcusage_settings:1055:37)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.5:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.5.5:2:27330)",
        "trace": null,
        "code": null
    }
]
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.777 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.105 s
Memory usage 3.83 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.059 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.333 s0.441 s+0.108 s3.44 MiB3.93 MiB+ 504.96 KiB
/wp-admin/edit.php0.200 s0.246 s+0.046 s3.46 MiB3.95 MiB+ 504.39 KiB
/wp-admin/post-new.php0.862 s0.900 s+0.038 s5.59 MiB6.04 MiB+ 458.69 KiB
/wp-admin/upload.php0.693 s0.593 s-0.100 s3.38 MiB3.79 MiB+ 419.34 KiB
/wp-admin/options-writing.php0.198 s0.408 s+0.210 s3.37 MiB3.77 MiB+ 411.1 KiB
/wp-admin/media-new.php0.280 s0.287 s+0.007 s3.35 MiB3.77 MiB+ 431.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.195 s+0.019 s3.37 MiB3.81 MiB+ 456.54 KiB
/wp-admin/post-new.php?post_type=page0.583 s0.611 s+0.028 s5.59 MiB6.02 MiB+ 450.27 KiB
/wp-admin/options-discussion.php0.321 s0.262 s-0.059 s3.36 MiB3.77 MiB+ 422.09 KiB
/wp-admin/edit-comments.php0.245 s0.347 s+0.102 s3.39 MiB3.82 MiB+ 438.49 KiB
Average 0.389 s0.429 s+0.040 s3.83 MiB4.27 MiB+ 449.72 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.1%75,32525,5629
PHP43.2%60,07819,909201
CSS2.4%3,38310315
JavaScript0.3%355796
Total 139,141 45,653 231

PHP Code Analysis | More results »

Lines of code 53,043
Total complexity 9,653
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,329
Functions 458

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 12

Meta Boxes

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

Roles 1

ID Name
coupon_affiliateCoupon Affiliate

PHP Error Log 125 lines

[29-Jun-2024 22:03:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 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
[29-Jun-2024 22:03:58 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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03: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
[29-Jun-2024 22:03:59 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03:59 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
[29-Jun-2024 22:03:59 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:03:59 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
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:01 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
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:01 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
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1745
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1745
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1745
[29-Jun-2024 22:04:01 UTC] PHP Deprecated:  preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/kses.php on line 1745
[29-Jun-2024 22:04:02 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-notifications.php:554
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): wcusage_setting_section_email_free()
#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-notifications.php(25): do_action()
#4 /wp-admin/includes/template.php(1836): wcusage_field_cb_notifications()
#5 /wp-admin/includes/template.php(1790): do_settings_fields()
#6 /wp-content/plugins/woo-coupon-usage/inc/admin/settings/admin-options.php(848): 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-notifications.php on line 554
[29-Jun-2024 22:04:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:02 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
[29-Jun-2024 22:04:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:02 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
[29-Jun-2024 22:04:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:05 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
[29-Jun-2024 22:04:05 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:05 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
[29-Jun-2024 22:04:09 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
[29-Jun-2024 22:04:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:09 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
[29-Jun-2024 22:04:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:09 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
[29-Jun-2024 22:04:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:13 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
[29-Jun-2024 22:04:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04:13 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
[29-Jun-2024 22:04:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:15 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291
[29-Jun-2024 22:04: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
[29-Jun-2024 22:04:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7291

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