Smart Variations Images & Swatches for WooCommerce 5.1.6

Does "Smart Variations Images & Swatches for WooCommerce" work with WordPress 5.8.2 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.2
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=bda2cf92bd
Aspect after-activation
HTTP status 403
Load time 0.993 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.509 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 0.731 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.346 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.097 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.324 s0.283 s-0.041 s3.08 MiB4.31 MiB+ 1.23 MiB
/wp-admin/edit.php0.173 s0.191 s+0.018 s3.11 MiB4.35 MiB+ 1.23 MiB
/wp-admin/post-new.php2.968 s1.075 s-1.893 s5.27 MiB6.45 MiB+ 1.19 MiB
/wp-admin/upload.php0.398 s0.335 s-0.063 s3.03 MiB4.12 MiB+ 1.09 MiB
/wp-admin/options-writing.php0.259 s0.271 s+0.012 s3.02 MiB4.1 MiB+ 1.07 MiB
/wp-admin/media-new.php0.313 s0.319 s+0.006 s3.01 MiB4.1 MiB+ 1.09 MiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.202 s+0.026 s3.04 MiB4.13 MiB+ 1.09 MiB
/wp-admin/post-new.php?post_type=page0.866 s0.883 s+0.017 s5.26 MiB6.44 MiB+ 1.19 MiB
/wp-admin/options-discussion.php0.226 s0.235 s+0.009 s3 MiB4.09 MiB+ 1.09 MiB
/wp-admin/edit-comments.php0.205 s0.211 s+0.006 s3.04 MiB4.28 MiB+ 1.24 MiB
Average 0.591 s0.401 s-0.190 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
PHP50.0%56,41927,602259
JavaScript41.0%46,3446,13194
Sass4.3%4,9114949
CSS2.6%2,92417575
SVG2.1%2,347312
Markdown0.0%301
Total 112,948 33,960 490

PHP Code Analysis | More results »

Lines of code 46,978
Total complexity 11,279
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,223
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-Nov-2021 11:22:34 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-Nov-2021 11:22:34 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-Nov-2021 11:22:40 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-Nov-2021 11:22:40 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