Does "Conditional Discounts for WooCommerce by ORION" work with WordPress 5.7 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: 127.52 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 | 5.7 |
---|---|
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=77acc0e93f |
Aspect | after-activation |
HTTP status | 403 |
Load time | 0.246 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.219 s |
Memory usage | 2.94 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.340 s |
Memory usage | 3.03 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.233 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.299 s | 0.168 s | -0.131 s | 2.82 MiB | ||
/wp-admin/edit.php | 0.201 s | 0.196 s | -0.005 s | 2.86 MiB | 2.98 MiB | + 121.05 KiB |
/wp-admin/post-new.php | 0.965 s | 1.043 s | +0.078 s | 5.02 MiB | 5.16 MiB | + 134.67 KiB |
/wp-admin/upload.php | 0.516 s | 0.310 s | -0.206 s | 2.7 MiB | 2.82 MiB | + 131.69 KiB |
/wp-admin/options-writing.php | 0.172 s | 0.182 s | +0.010 s | 2.71 MiB | 2.81 MiB | + 100.55 KiB |
/wp-admin/media-new.php | 0.208 s | 0.205 s | -0.003 s | 2.67 MiB | 2.8 MiB | + 131.49 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.268 s | 0.358 s | +0.090 s | 2.77 MiB | 2.9 MiB | + 133.62 KiB |
/wp-admin/post-new.php?post_type=page | 1.027 s | 1.146 s | +0.119 s | 5.01 MiB | 5.14 MiB | + 130.26 KiB |
/wp-admin/options-discussion.php | 0.275 s | 0.297 s | +0.022 s | 2.67 MiB | 2.8 MiB | + 133.05 KiB |
/wp-admin/edit-comments.php | 0.226 s | 0.244 s | +0.018 s | 2.78 MiB | 2.9 MiB | + 131.3 KiB |
/ | 0.268 s | 0.181 s | -0.087 s | 2.71 MiB | ||
Average | 0.402 s | 0.394 s | -0.009 s | 3.16 MiB | 3.37 MiB | + 127.52 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,429 | 502 | 12 | |
CSS | 23.0% | 3,524 | 178 | 7 | |
PHP | 19.9% | 3,047 | 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,328 | 2,218 | 40 |
Lines of code | 3,056 |
---|---|
Total complexity | 622 |
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"
}
}
}
[10-Mar-2021 10:20: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:1278
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(970): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(904): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1389): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(256): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1278
[10-Mar-2021 10:20:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1278
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): do_action_ref_array()
#4 /wp-includes/query.php(975): 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 1278
[10-Mar-2021 10:20:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1278
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(970): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(904): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1389): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(256): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1278
[10-Mar-2021 10:20:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1278
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): do_action_ref_array()
#4 /wp-includes/query.php(975): 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 1278
[10-Mar-2021 10:20:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php:1278
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): WAD_Discount->get_loop_data()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): WP_Hook->do_action()
#3 /wp-includes/class-wp-query.php(3326): do_action_ref_array()
#4 /wp-admin/includes/dashboard.php(970): WP_Query->the_post()
#5 /wp-admin/includes/dashboard.php(904): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1389): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(256): do_meta_boxes()
#8 /wp-admin/index.p in /wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 1278