Smart Variations Images & Swatches for WooCommerce 5.1.3

Does "Smart Variations Images & Swatches for WooCommerce" work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
2PHP warnings
No JavaScript exceptions
2Pages failed to load
  • 1 403 Forbidden
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 1.15 MiB
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 version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/smart-variations-images/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/admin.php?page=woocommerce_svi
Requested URL /wp-admin/plugins.php?action=activate&plugin=smart-variations-images%2Fsvi.php&plugin_status=all&paged=1&s&_wpnonce=9b5eef48f6
Aspect after-activation
HTTP status 403
Load time 1.068 s
Memory usage N/A
JS errors None
Resource errors None

Tools → Redux Framework

Page screenshot: Tools → Redux Framework
URL /wp-admin/tools.php?page=redux-framework
Aspect menu-item
HTTP status 200
Load time 0.623 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Tools → Redux Framework → Health Check

Page screenshot: Tools → Redux Framework → 
					Health Check
URL /wp-admin/tools.php?page=redux-health
Aspect menu-item-tab
HTTP status 200
Load time 2.859 s
Memory usage 4.92 MiB
JS errors None
Resource errors None

Tools → Redux Framework → Get Support

Page screenshot: Tools → Redux Framework → 
					Get Support
URL /wp-admin/tools.php?page=redux-support
Aspect menu-item-tab
HTTP status 200
Load time 0.327 s
Memory usage 4.15 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.102 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.339 s0.297 s-0.042 s3.08 MiB4.31 MiB+ 1.23 MiB
/wp-admin/edit.php0.192 s0.252 s+0.060 s3.11 MiB4.35 MiB+ 1.23 MiB
/wp-admin/post-new.php0.825 s0.995 s+0.170 s5.27 MiB6.45 MiB+ 1.19 MiB
/wp-admin/upload.php0.385 s0.330 s-0.055 s3.03 MiB4.12 MiB+ 1.09 MiB
/wp-admin/options-writing.php0.147 s0.169 s+0.022 s3.02 MiB4.09 MiB+ 1.07 MiB
/wp-admin/media-new.php0.435 s0.378 s-0.057 s3.01 MiB4.09 MiB+ 1.09 MiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.261 s+0.074 s3.04 MiB4.12 MiB+ 1.09 MiB
/wp-admin/post-new.php?post_type=page1.035 s0.663 s-0.372 s5.26 MiB6.44 MiB+ 1.18 MiB
/wp-admin/options-discussion.php0.276 s0.271 s-0.005 s3 MiB4.09 MiB+ 1.09 MiB
/wp-admin/edit-comments.php0.290 s0.233 s-0.057 s3.04 MiB4.28 MiB+ 1.24 MiB
Average 0.411 s0.385 s-0.026 s3.49 MiB4.64 MiB+ 1.15 MiB

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
JavaScript
Language % Lines of code Comment lines Files
PHP49.9%56,40227,602259
JavaScript41.0%46,3446,13194
Sass4.3%4,9114949
CSS2.6%2,92417575
SVG2.1%2,347312
Markdown0.0%301
Total 112,931 33,960 490

PHP Code Analysis | More results »

Lines of code 46,964
Total complexity 11,276
Median class complexity 17.0
Median method complexity 2.0
Most complex class Freemius
Most complex function Redux_Options_Constructor::register()
Classes 186
Methods 2,221
Functions 117

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 7

PHP Error Log 22 lines

[12-Oct-2021 16:57:20 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 182
[12-Oct-2021 16:57:20 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php:82
Stack trace:
#0 /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php(99): Smart_Variations_Images_Public->handleLoadCondition()
#1 /wp-includes/class-wp-hook.php(303): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /wp-inclu in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
[12-Oct-2021 16:57:27 UTC] PHP Warning:  Use of undefined constant WC_VERSION - assumed 'WC_VERSION' (this will throw an Error in a future version of PHP) in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 182
[12-Oct-2021 16:57:27 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php:82
Stack trace:
#0 /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php(99): Smart_Variations_Images_Public->handleLoadCondition()
#1 /wp-includes/class-wp-hook.php(303): Smart_Variations_Images_Public->load_scripts()
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2083): do_action()
#5 /wp-includes/class-wp-hook.php(303): wp_enqueue_scripts()
#6 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /wp-inclu in /wp-content/plugins/smart-variations-images/public/class-smart-variations-images-public.php on line 82
See also: All tests for this plugin