YayPricing – WooCommerce Dynamic Pricing & Discounts 2.5.1

Does "YayPricing Lite - WooCommerce Dynamic Pricing And Discounts" work with WordPress 6.4.3 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.58 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.3
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=c6aa84bb8f
Aspect after-activation
HTTP status 200
Load time 0.286 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.191 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.044 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.201 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.457 s0.393 s-0.064 s3.38 MiB3.41 MiB+ 25.88 KiB
/wp-admin/edit.php0.270 s0.223 s-0.047 s3.41 MiB3.43 MiB+ 25.88 KiB
/wp-admin/post-new.php0.943 s1.207 s+0.264 s5.46 MiB5.49 MiB+ 30.25 KiB
/wp-admin/upload.php0.655 s0.492 s-0.163 s3.32 MiB3.33 MiB+ 8.84 KiB
/wp-admin/options-writing.php0.221 s0.230 s+0.009 s3.32 MiB3.32 MiB+ 1.69 KiB
/wp-admin/media-new.php0.319 s0.310 s-0.009 s3.3 MiB3.32 MiB+ 20.66 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.212 s-0.002 s3.31 MiB3.34 MiB+ 25.84 KiB
/wp-admin/post-new.php?post_type=page1.027 s0.707 s-0.320 s5.45 MiB5.47 MiB+ 25.84 KiB
/wp-admin/options-discussion.php0.352 s0.468 s+0.116 s3.3 MiB3.31 MiB+ 10.84 KiB
/wp-admin/edit-comments.php0.275 s0.279 s+0.004 s3.34 MiB3.34 MiB+ 8.51 KiB
/0.296 s0.248 s-0.048 s3.36 MiB3.32 MiB- 34.88 KiB
Average 0.457 s0.434 s-0.024 s3.72 MiB3.74 MiB+ 13.58 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
PO File
Language % Lines of code Comment lines Files
PHP62.9%11,6915,231140
PO File32.7%6,0822,5626
CSS3.2%58715
JavaScript1.2%21515
SVG0.0%301
Total 18,578 7,795 157

PHP Code Analysis | More results »

Lines of code 10,982
Total complexity 2,268
Median class complexity 10.0
Median method complexity 2.0
Most complex class YAYDP\Helper\YAYDP_Condition_Helper
Most complex function YAYDP\YAYDP_Activation::convert_old_data()
Classes 113
Methods 707
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

[20-Feb-2024 03:55:30 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