Linked Variation for WooCommerce 1.0.4

Does "Linked Variation for WooCommerce" work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 5.83 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/linked-variation-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=linked-variation-for-woocommerce%2Flinked-variation-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=7e81fd7e11
Aspect after-activation
HTTP status 200
Load time 0.464 s
Memory usage 3.34 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 500
Load time 0.077 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.381 s0.380 s-0.001 s3.38 MiB3.39 MiB+ 12.67 KiB
/wp-admin/edit.php0.234 s0.263 s+0.029 s3.41 MiB3.42 MiB+ 13.04 KiB
/wp-admin/post-new.php1.083 s0.625 s-0.458 s5.46 MiB5.47 MiB+ 17.04 KiB
/wp-admin/upload.php0.593 s0.388 s-0.205 s3.32 MiB3.32 MiB- 4.37 KiB
/wp-admin/options-writing.php0.228 s0.211 s-0.017 s3.32 MiB3.31 MiB- 10.95 KiB
/wp-admin/media-new.php0.324 s0.381 s+0.057 s3.29 MiB3.3 MiB+ 8.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.208 s+0.000 s3.31 MiB3.33 MiB+ 12.99 KiB
/wp-admin/post-new.php?post_type=page0.829 s0.601 s-0.228 s5.45 MiB5.47 MiB+ 16.63 KiB
/wp-admin/options-discussion.php0.330 s0.294 s-0.036 s3.3 MiB3.3 MiB- 3.05 KiB
/wp-admin/edit-comments.php0.311 s0.252 s-0.059 s3.34 MiB3.33 MiB- 4.38 KiB
Average 0.452 s0.360 s-0.092 s3.76 MiB3.76 MiB+ 5.83 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
PO File
Language % Lines of code Comment lines Files
PHP72.6%5601119
CSS9.9%7632
PO File9.6%74291
JavaScript7.9%6162
Total 771 149 14

PHP Code Analysis | More results »

Lines of code 495
Total complexity 97
Median class complexity 1.0
Median method complexity 3.0
Most complex class WooLinkedVariation
Most complex function WooLinkedVariation::save()
Classes 3
Methods 21
Functions 4

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 1

PHP Error Log 40 lines

[14-Nov-2023 12:36:55 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/linked-variation-for-woocommerce/includes/class-functions.php:547
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WooLinkedVariation->frontend_enqueue_scripts()
#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/script-loader.php(2262): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3052): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(790): require_once('...')
#10 /wp-includes/template.php(725): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/linked-variation-for-woocommerce/includes/class-functions.php on line 547
[14-Nov-2023 12:37:04 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/linked-variation-for-woocommerce/includes/class-functions.php:547
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): WooLinkedVariation->frontend_enqueue_scripts()
#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/script-loader.php(2262): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3052): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(790): require_once('...')
#10 /wp-includes/template.php(725): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/linked-variation-for-woocommerce/includes/class-functions.php on line 547
See also: All tests for this plugin