Home
Discount Rules and Dynamic Pricing for WooCommerce
5.0.0
Does "Discount Rules and Dynamic Pricing for WooCommerce" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on 2021-05-19 11:31:38 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 5.7.2 PHP version 7.4.8 MySQL version 8.0.21 PHP memory limit 256M
Pages 1 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=91a7f1df24
Aspect
after-activation
HTTP status
200
Load time
0.541 s
Memory usage
2.71 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.
Language
%
Lines of code
Comment lines
Files
JavaScript 71.9% 27,967 3,922 3 PHP 25.2% 9,794 3,174 95 SVG 1.8% 685 0 1 CSS 1.1% 428 10 3
Total
38,874
7,106
102
Lines of code
9,400
Total complexity
2,279
Median class complexity
16.5
Median method complexity
2.0
Most complex class
WCCS_Public_Pricing_Hooks
Most complex function
WCCS_Settings_Manager::get_registered_settings()
Classes
80
Methods
522
Functions
4
Additions
No data available.
PHP Error Log 8 lines [19-May-2021 11:31: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(191): WCCS_Settings_Manager->get_registered_settings()
#1 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(163): WCCS_Activator::create_options()
#2 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(111): 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(292): activate_wc_conditions()
#5 /wp-includes/class-wp-hook.php(316): W in /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-settings-manager.php on line 165