Does "Conditional Discounts for WooCommerce by ORION" work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .
5 | PHP fatal errors |
No JavaScript exceptions | |
1 | Page failed to load
|
No resource errors |
Memory usage: 136.62 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
insignificant.
The plugin didn't make the site noticeably slower.
WordPress version | 6.0.2 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
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=9d44e77010 |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.240 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.214 s |
Memory usage | 3.85 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.420 s |
Memory usage | 3.95 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.289 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.311 s | 0.258 s | -0.053 s | 3.72 MiB | ||
/wp-admin/edit.php | 0.179 s | 0.216 s | +0.037 s | 3.76 MiB | 3.88 MiB | + 123.23 KiB |
/wp-admin/post-new.php | 0.882 s | 1.182 s | +0.300 s | 5.55 MiB | 5.68 MiB | + 131.95 KiB |
/wp-admin/upload.php | 0.726 s | 0.365 s | -0.361 s | 3.69 MiB | 3.81 MiB | + 123.2 KiB |
/wp-admin/options-writing.php | 0.135 s | 0.227 s | +0.092 s | 3.62 MiB | 3.78 MiB | + 167.99 KiB |
/wp-admin/media-new.php | 0.295 s | 0.218 s | -0.077 s | 3.66 MiB | 3.78 MiB | + 123.32 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.172 s | 0.216 s | +0.044 s | 3.69 MiB | 3.81 MiB | + 124.25 KiB |
/wp-admin/post-new.php?post_type=page | 0.846 s | 0.900 s | +0.054 s | 5.54 MiB | 5.66 MiB | + 123.54 KiB |
/wp-admin/options-discussion.php | 0.245 s | 0.399 s | +0.154 s | 3.6 MiB | 3.78 MiB | + 188.57 KiB |
/wp-admin/edit-comments.php | 0.213 s | 0.254 s | +0.041 s | 3.7 MiB | 3.82 MiB | + 123.55 KiB |
/ | 0.276 s | 0.178 s | -0.098 s | 3.6 MiB | ||
Average | 0.389 s | 0.401 s | +0.012 s | 4.01 MiB | 4.22 MiB | + 136.62 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 | 48.5% | 7,471 | 509 | 12 | |
CSS | 22.9% | 3,524 | 178 | 7 | |
PHP | 20.1% | 3,091 | 851 | 14 | |
PO File | 5.8% | 898 | 686 | 2 | |
HTML | 1.7% | 259 | 0 | 1 | |
JSON | 1.0% | 147 | 0 | 3 | |
SVG | 0.2% | 24 | 1 | 1 | |
Total | 15,414 | 2,225 | 40 |
Lines of code | 3,100 |
---|---|
Total complexity | 632 |
Median class complexity | 9.0 |
Median method complexity | 2.0 |
Most complex class | WAD_Discount |
Most complex function | o_admin_fields() |
Classes | 9 |
---|---|
Methods | 98 |
Functions | 32 |
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"
}
}
}
[31-Aug-2022 11:47: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:1300
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(524): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3447): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(997): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(930): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1401): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(265): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1300
[31-Aug-2022 11:47:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1300
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(524): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3447): do_action_ref_array()
#4 /wp-includes/query.php(979): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('/opt/bitnami/ap...')
#7 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#8 /index.php(17): require('/o in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1300
[31-Aug-2022 11:47:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1300
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(524): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3447): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(997): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(930): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1401): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(265): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1300
[31-Aug-2022 11:47:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1300
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(524): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3447): do_action_ref_array()
#4 /wp-includes/query.php(979): WP_Query->the_post()
#5 /wp-content/themes/twentyseventeen/index.php(39): the_post()
#6 /wp-includes/template-loader.php(106): include('/opt/bitnami/ap...')
#7 /wp-blog-header.php(19): require_once('/opt/bitnami/ap...')
#8 /index.php(17): require('/o in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1300
[31-Aug-2022 11:47:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1300
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(524): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3447): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(997): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(930): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1401): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(265): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1300