Does "Conditional Discounts for WooCommerce by ORION" work with WordPress 5.8.1 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: 134.27 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.054 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 5.8.1 |
---|---|
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=e605475168 |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.267 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.242 s |
Memory usage | 3.2 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.346 s |
Memory usage | 3.36 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.280 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.303 s | 0.158 s | -0.145 s | 3.08 MiB | ||
/wp-admin/edit.php | 0.171 s | 0.183 s | +0.012 s | 3.11 MiB | 3.3 MiB | + 194.76 KiB |
/wp-admin/post-new.php | 0.732 s | 1.179 s | +0.447 s | 5.27 MiB | 5.4 MiB | + 131.17 KiB |
/wp-admin/upload.php | 0.363 s | 0.407 s | +0.044 s | 3.03 MiB | 3.15 MiB | + 128.19 KiB |
/wp-admin/options-writing.php | 0.226 s | 0.159 s | -0.067 s | 3.02 MiB | 3.13 MiB | + 113.05 KiB |
/wp-admin/media-new.php | 0.341 s | 0.195 s | -0.146 s | 3.01 MiB | 3.13 MiB | + 128.3 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.172 s | 0.194 s | +0.022 s | 3.04 MiB | 3.16 MiB | + 128.87 KiB |
/wp-admin/post-new.php?post_type=page | 0.607 s | 1.108 s | +0.501 s | 5.26 MiB | 5.38 MiB | + 126.76 KiB |
/wp-admin/options-discussion.php | 0.241 s | 0.269 s | +0.028 s | 3 MiB | 3.13 MiB | + 129.55 KiB |
/wp-admin/edit-comments.php | 0.213 s | 0.238 s | +0.025 s | 3.04 MiB | 3.17 MiB | + 127.8 KiB |
/ | 0.295 s | 0.168 s | -0.127 s | 2.91 MiB | ||
Average | 0.333 s | 0.387 s | +0.054 s | 3.43 MiB | 3.66 MiB | + 134.27 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.4% | 7,429 | 502 | 12 | |
CSS | 23.0% | 3,524 | 178 | 7 | |
PHP | 19.9% | 3,055 | 851 | 14 | |
PO File | 5.9% | 898 | 686 | 2 | |
HTML | 1.7% | 259 | 0 | 1 | |
JSON | 1.0% | 147 | 0 | 3 | |
SVG | 0.2% | 24 | 1 | 1 | |
Total | 15,336 | 2,218 | 40 |
Lines of code | 3,064 |
---|---|
Total complexity | 623 |
Median class complexity | 9.0 |
Median method complexity | 2.0 |
Most complex class | WAD_Discount |
Most complex function | o_admin_fields() |
Classes | 9 |
---|---|
Methods | 96 |
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"
}
}
}
[13-Oct-2021 13:42:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1279
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): 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(1395): 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 1279
[13-Oct-2021 13:42:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1279
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): 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 1279
[13-Oct-2021 13:42:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1279
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): 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(1395): 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 1279
[13-Oct-2021 13:42:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1279
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): 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 1279
[13-Oct-2021 13:42:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1279
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): 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(1395): 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 1279