Menu Cart For Woocommerce 1.9

Does Menu Cart For Woocommerce work with WordPress 6.6 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 45.78 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.6
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/menu-cart-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=menu-cart-for-woocommerce%2Fmenu-cart-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=c4e3819603
Aspect after-activation
HTTP status 200
Load time 0.238 s
Memory usage 3.52 MiB
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.192 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wc_add_to_cart_params is not defined\n    at HTMLDocument.<anonymous> (/wp-content/plugins/menu-cart-for-woocommerce/assets/js/front-script.js?ver=1.9:5:25)\n    at e (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)\n    at t (/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.323 s0.281 s-0.042 s3.47 MiB3.51 MiB+ 33.32 KiB
/wp-admin/edit.php0.204 s0.200 s-0.004 s3.54 MiB3.57 MiB+ 33.32 KiB
/wp-admin/post-new.php0.729 s0.578 s-0.151 s5.75 MiB5.79 MiB+ 36.89 KiB
/wp-admin/upload.php0.657 s0.368 s-0.289 s3.49 MiB3.5 MiB+ 15.91 KiB
/wp-admin/options-writing.php0.196 s0.168 s-0.028 s3.41 MiB3.49 MiB+ 78.72 KiB
/wp-admin/media-new.php0.213 s0.435 s+0.222 s3.4 MiB3.49 MiB+ 92.1 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.175 s-0.002 s3.47 MiB3.51 MiB+ 38.77 KiB
/wp-admin/post-new.php?post_type=page0.571 s0.562 s-0.009 s5.75 MiB5.78 MiB+ 32.48 KiB
/wp-admin/options-discussion.php0.228 s0.228 s+0.000 s3.41 MiB3.49 MiB+ 80.41 KiB
/wp-admin/edit-comments.php0.215 s0.202 s-0.013 s3.49 MiB3.51 MiB+ 15.91 KiB
/0.289 s0.191 s-0.098 s3.45 MiB
Average 0.346 s0.308 s-0.038 s3.88 MiB3.96 MiB+ 45.78 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
CSS
Language % Lines of code Comment lines Files
PHP57.1%1,9074012
CSS37.3%1,24692
JavaScript4.5%15122
SVG1.1%37010
Total 3,341 51 26

PHP Code Analysis | More results »

Lines of code 1,903
Total complexity 347
Median class complexity 27.0
Median method complexity 3.0
Most complex class mcfw_general_settings
Most complex function mcfw_update_flyout()
Classes 9
Methods 55
Functions 13

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.

Options wp_options 4

PHP Error Log 32 lines

[22-Jul-2024 04:05:06 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/menu-cart-for-woocommerce/front/sticky-cart.php:28
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): mcfw_sticky_cart->mcfw_add_sticky_cart()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3081): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/menu-cart-for-woocommerce/front/sticky-cart.php on line 28
[22-Jul-2024 04:05:14 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/menu-cart-for-woocommerce/front/sticky-cart.php:28
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): mcfw_sticky_cart->mcfw_add_sticky_cart()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3081): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/menu-cart-for-woocommerce/front/sticky-cart.php on line 28
See also: All tests for this plugin