Home
Discount Rules and Dynamic Pricing for WooCommerce
7.2.0
Does "Discount Rules and Dynamic Pricing for WooCommerce" work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on 2024-11-22 10:53:07 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.7.1 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
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=dd5f4c14b1
Aspect
after-activation
HTTP status
200
Load time
0.266 s
Memory usage
3.49 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
PHP 92.7% 11,516 3,608 110 SVG 5.5% 685 0 1 CSS 1.0% 123 4 4 JavaScript 0.8% 96 73 7 JSON 0.0% 2 0 2
Total
12,422
3,685
124
Lines of code
11,099
Total complexity
2,874
Median class complexity
16.0
Median method complexity
2.0
Most complex class
WCCS_Public_Product_Pricing
Most complex function
WCCS_Settings_Manager::get_registered_settings()
Classes
94
Methods
653
Functions
4
Additions
No data available.
PHP Error Log 13 lines [22-Nov-2024 10:53:22 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(203): WCCS_Settings_Manager->get_registered_settings()
#1 /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-activator.php(174): 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(324): activate_wc_conditions()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-admin/includes/plugin.php(703): do_action()
#8 /wp-admin/plugins.php(60): activate_plugin()
#9 {main}
thrown in /wp-content/plugins/easy-woocommerce-discounts/includes/class-wccs-settings-manager.php on line 165