Discount Rules and Dynamic Pricing for WooCommerce 5.19.0

Does "Discount Rules and Dynamic Pricing for WooCommerce" work with WordPress 6.2.2 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/easy-woocommerce-discounts/
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=easy-woocommerce-discounts%2Feasy-woocommerce-discounts.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=easy-woocommerce-discounts%2Feasy-woocommerce-discounts.php&plugin_status=all&paged=1&s&_wpnonce=d3cb25804b
Aspect after-activation
HTTP status 200
Load time 0.520 s
Memory usage 3.01 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
PHP92.4%10,6083,420103
SVG6.0%68501
CSS0.8%9343
JavaScript0.8%92733
Total 11,478 3,497 110

PHP Code Analysis | More results »

Lines of code 10,204
Total complexity 2,488
Median class complexity 16.0
Median method complexity 2.0
Most complex class WCCS_Public_Pricing_Hooks
Most complex function WCCS_Settings_Manager::get_registered_settings()
Classes 88
Methods 584
Functions 4

Additions

No data available.

PHP Error Log 13 lines

[21-May-2023 21:36:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_woocommerce_currency_symbol() in /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-settings-manager.php:165
Stack trace:
#0 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(192): WCCS_Settings_Manager->get_registered_settings()
#1 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(164): WCCS_Activator::create_options()
#2 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(112): WCCS_Activator::run_install()
#3 /wp-content/plugins/easy-woocommerce-discounts/easy-woocommerce-discounts.php(36): WCCS_Activator::activate()
#4 /wp-includes/class-wp-hook.php(308): activate_wc_conditions()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/includes/plugin.php(691): do_action()
#8 /wp-admin/plugins.php(58): activate_plugin()
#9 {main}
  thrown in /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-settings-manager.php on line 165
See also: All tests for this plugin