YayPricing – WooCommerce Dynamic Pricing & Discounts 2.4.9.2

Does "YayPricing Lite - WooCommerce Dynamic Pricing And Discounts" work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
2Pages failed to load
  • 1 404 Not Found
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 13.55 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.

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/yaypricing/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=yaypricing%2Fyaypricing.php&plugin_status=all&paged=1&s&_wpnonce=1a708c5454
Aspect after-activation
HTTP status 200
Load time 0.303 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

YayCommerce

Page screenshot: YayCommerce
URL /wp-admin/yaycommerce-help
Aspect menu-item
HTTP status 404
Load time 0.190 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

YayCommerce → Other plugins

Page screenshot: YayCommerce → Other plugins
URL /wp-admin/admin.php?page=yaycommerce-other-plugins
Aspect menu-item
HTTP status 500
Load time 0.057 s
Memory usage N/A
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.190 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.435 s0.381 s-0.054 s3.38 MiB3.41 MiB+ 25.86 KiB
/wp-admin/edit.php0.280 s0.246 s-0.034 s3.41 MiB3.43 MiB+ 25.86 KiB
/wp-admin/post-new.php0.952 s0.698 s-0.254 s5.46 MiB5.49 MiB+ 30.23 KiB
/wp-admin/upload.php0.691 s0.482 s-0.209 s3.32 MiB3.33 MiB+ 8.82 KiB
/wp-admin/options-writing.php0.237 s0.225 s-0.012 s3.32 MiB3.32 MiB+ 1.66 KiB
/wp-admin/media-new.php0.343 s0.296 s-0.047 s3.29 MiB3.31 MiB+ 20.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.255 s0.244 s-0.011 s3.31 MiB3.34 MiB+ 25.81 KiB
/wp-admin/post-new.php?post_type=page0.668 s0.661 s-0.007 s5.45 MiB5.47 MiB+ 25.81 KiB
/wp-admin/options-discussion.php0.245 s0.289 s+0.044 s3.3 MiB3.31 MiB+ 10.82 KiB
/wp-admin/edit-comments.php0.550 s0.233 s-0.317 s3.34 MiB3.34 MiB+ 8.48 KiB
/0.320 s0.197 s-0.123 s3.36 MiB3.32 MiB- 34.9 KiB
Average 0.452 s0.359 s-0.093 s3.72 MiB3.73 MiB+ 13.55 KiB

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.

PHP
Language % Lines of code Comment lines Files
PHP86.3%11,4595,173135
PO File7.6%1,0084181
CSS4.4%58715
JavaScript1.6%21515
SVG0.0%301
Total 13,272 5,593 147

PHP Code Analysis | More results »

Lines of code 10,750
Total complexity 2,214
Median class complexity 11.0
Median method complexity 2.0
Most complex class YAYDP\Helper\YAYDP_Condition_Helper
Most complex function YAYDP\YAYDP_Activation::convert_old_data()
Classes 108
Methods 689
Functions 69

Additions

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.

No new entries found.

PHP Error Log 7 lines

[10-Dec-2023 13:25:00 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\YayMail\YayCommerceMenu\OtherPluginsMenu" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(237): do_action()
#3 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
See also: All tests for this plugin, How to Hide YayPricing Lite - WooCommerce Dynamic Pricing And Discounts Admin Menus