Does "Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
5 | PHP fatal errors |
1 | JavaScript exceptions |
1 | Page failed to load
|
No resource errors |
Memory usage: 119.07 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.102 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.1.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 10,000+ |
WordPress.org page | https://wordpress.org/plugins/woo-advanced-discounts/ |
Badges |
|
URL | /wp-admin/edit.php?post_type=o-discount&page=wad-pro-features |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=woo-advanced-discounts%2Fwad.php&plugin_status=all&paged=1&s&_wpnonce=7fee70b8a9 |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.241 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/edit.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.321 s |
Memory usage | 3.14 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/post-new.php?post_type=o-discount |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.438 s |
Memory usage | 3.31 MiB |
JS errors |
|
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.174 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.282 s | 0.263 s | -0.019 s | 3.05 MiB | ||
/wp-admin/edit.php | 0.167 s | 0.416 s | +0.249 s | 3.07 MiB | 3.2 MiB | + 126.94 KiB |
/wp-admin/post-new.php | 0.801 s | 1.250 s | +0.449 s | 4.97 MiB | 5.1 MiB | + 135.27 KiB |
/wp-admin/upload.php | 0.542 s | 0.432 s | -0.110 s | 2.99 MiB | 3.1 MiB | + 109.24 KiB |
/wp-admin/options-writing.php | 0.138 s | 0.295 s | +0.157 s | 2.99 MiB | 3.08 MiB | + 96.77 KiB |
/wp-admin/media-new.php | 0.480 s | 0.341 s | -0.139 s | 2.97 MiB | 3.09 MiB | + 121.38 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.167 s | 0.299 s | +0.132 s | 2.98 MiB | 3.1 MiB | + 126.57 KiB |
/wp-admin/post-new.php?post_type=page | 0.638 s | 0.778 s | +0.140 s | 4.96 MiB | 5.09 MiB | + 135.27 KiB |
/wp-admin/options-discussion.php | 0.212 s | 0.399 s | +0.187 s | 2.98 MiB | 3.08 MiB | + 110.62 KiB |
/wp-admin/edit-comments.php | 0.179 s | 0.360 s | +0.181 s | 3 MiB | 3.11 MiB | + 109.6 KiB |
/ | 0.281 s | 0.174 s | -0.107 s | 2.94 MiB | ||
Average | 0.353 s | 0.455 s | +0.102 s | 3.35 MiB | 3.55 MiB | + 119.07 KiB |
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 | 47.9% | 7,700 | 508 | 12 | |
CSS | 21.9% | 3,524 | 178 | 7 | |
PHP | 21.9% | 3,522 | 939 | 14 | |
PO File | 5.6% | 906 | 412 | 2 | |
HTML | 1.6% | 259 | 0 | 1 | |
JSON | 0.9% | 147 | 0 | 3 | |
SVG | 0.1% | 24 | 1 | 1 | |
Total | 16,082 | 2,038 | 40 |
Lines of code | 3,528 |
---|---|
Total complexity | 626 |
Median class complexity | 10.5 |
Median method complexity | 2.0 |
Most complex class | WAD_Discount |
Most complex function | O_Utils::admin_fields() |
Classes | 10 |
---|---|
Methods | 113 |
Functions | 19 |
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.
{
"o-discount": {
"o-discount-settings-box": {
"title": "Discount settings",
"context": "advanced"
}
},
"o-list": {
"o-list-settings-box": {
"title": "List settings",
"context": "advanced"
}
}
}
[24-Feb-2023 18:50:26 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1356
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(1003): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(936): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1409): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#8 /wp-admin/index.php(203): wp_dashboard()
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1356
[24-Feb-2023 18:50:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1356
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-includes/query.php(1004): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1356
[24-Feb-2023 18:50:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1356
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(1003): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(936): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1409): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#8 /wp-admin/index.php(203): wp_dashboard()
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1356
[24-Feb-2023 18:50:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1356
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-includes/query.php(1004): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('...')
#7 /wp-blog-header.php(19): require_once('...')
#8 /index.php(17): require('...')
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1356
[24-Feb-2023 18:50:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1356
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(565): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3610): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(1003): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(936): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1409): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#8 /wp-admin/index.php(203): wp_dashboard()
#9 {main}
thrown in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1356