Codup WooCommerce Referral System 1.1.2.1

Does "Codup WooCommerce Referral System" work with WordPress 6.8.1 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/codup-woocommerce-referral-system/
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=codup-woocommerce-referral-system%2Fcodup-woocommerce-referral-system.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=codup-woocommerce-referral-system%2Fcodup-woocommerce-referral-system.php&plugin_status=all&paged=1&s&_wpnonce=3f575a7388
Aspect after-activation
HTTP status 200
Load time 0.292 s
Memory usage 3.52 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
Language % Lines of code Comment lines Files
PHP93.3%5561288
CSS3.7%2201
JavaScript3.0%1801
Total 596 128 10

PHP Code Analysis | More results »

Lines of code 511
Total complexity 78
Median class complexity 7.0
Median method complexity 1.0
Most complex class CodupWCReferralSystem
Most complex function CodupWCReferralSystem::apply_coupon_for_referral()
Classes 3
Methods 30
Functions 2

Additions

No data available.

PHP Error Log 9 lines

[07-May-2025 06:24:11 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "CWRF_SLUG" in /wp-content/plugins/codup-woocommerce-referral-system/codup-woocommerce-referral-system.php:64
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): cwrf_plugin_activate()
#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/plugin.php(703): do_action()
#4 /wp-admin/plugins.php(60): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/codup-woocommerce-referral-system/codup-woocommerce-referral-system.php on line 64
See also: All tests for this plugin