YayPricing – WooCommerce Dynamic Pricing & Discounts 2.5

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.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.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=95a89e957a
Aspect after-activation
HTTP status 200
Load time 0.297 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.187 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.049 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.173 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.433 s0.366 s-0.067 s3.38 MiB3.41 MiB+ 25.86 KiB
/wp-admin/edit.php0.387 s0.268 s-0.119 s3.41 MiB3.43 MiB+ 25.86 KiB
/wp-admin/post-new.php0.886 s0.789 s-0.097 s5.46 MiB5.49 MiB+ 30.23 KiB
/wp-admin/upload.php0.543 s0.509 s-0.034 s3.32 MiB3.33 MiB+ 8.82 KiB
/wp-admin/options-writing.php0.242 s0.214 s-0.028 s3.32 MiB3.32 MiB+ 1.66 KiB
/wp-admin/media-new.php0.353 s0.273 s-0.080 s3.3 MiB3.32 MiB+ 20.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.270 s+0.039 s3.31 MiB3.34 MiB+ 25.81 KiB
/wp-admin/post-new.php?post_type=page0.854 s0.582 s-0.272 s5.45 MiB5.47 MiB+ 25.81 KiB
/wp-admin/options-discussion.php0.332 s0.281 s-0.051 s3.3 MiB3.31 MiB+ 10.82 KiB
/wp-admin/edit-comments.php0.281 s0.243 s-0.038 s3.34 MiB3.34 MiB+ 8.48 KiB
/0.299 s0.418 s+0.119 s3.36 MiB3.32 MiB- 34.9 KiB
Average 0.440 s0.383 s-0.057 s3.72 MiB3.74 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
PO File
Language % Lines of code Comment lines Files
PHP75.4%11,5295,197137
PO File19.3%2,9561,2543
CSS3.8%58715
JavaScript1.4%21515
SVG0.0%301
Total 15,290 6,453 151

PHP Code Analysis | More results »

Lines of code 10,820
Total complexity 2,231
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 110
Methods 692
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

[03-Feb-2024 01:07:35 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