Smart Variations Images & Swatches for WooCommerce 5.1.0

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
3PHP notices
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: 0.064 seconds
The average page load time increased by this amount after activating the plugin.

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=da0685f6c8
Aspect after-activation
HTTP status 403
Load time 1.077 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.678 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 3.692 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.325 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.091 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.329 s0.465 s+0.136 s3.08 MiB4.31 MiB+ 1.23 MiB
/wp-admin/edit.php0.174 s0.208 s+0.034 s3.11 MiB4.35 MiB+ 1.23 MiB
/wp-admin/post-new.php1.114 s1.553 s+0.439 s5.27 MiB6.45 MiB+ 1.19 MiB
/wp-admin/upload.php0.562 s0.504 s-0.058 s3.03 MiB4.12 MiB+ 1.09 MiB
/wp-admin/options-writing.php0.172 s0.176 s+0.004 s3.02 MiB4.09 MiB+ 1.07 MiB
/wp-admin/media-new.php0.237 s0.249 s+0.012 s3.01 MiB4.09 MiB+ 1.09 MiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.205 s+0.012 s3.04 MiB4.13 MiB+ 1.09 MiB
/wp-admin/post-new.php?post_type=page1.003 s0.996 s-0.007 s5.26 MiB6.44 MiB+ 1.18 MiB
/wp-admin/options-discussion.php0.226 s0.266 s+0.040 s3 MiB4.09 MiB+ 1.09 MiB
/wp-admin/edit-comments.php0.200 s0.228 s+0.028 s3.04 MiB4.28 MiB+ 1.24 MiB
Average 0.421 s0.485 s+0.064 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,39827,618259
JavaScript41.1%46,4036,13295
Sass4.3%4,9114949
CSS2.6%2,92417575
SVG2.1%2,347312
Markdown0.0%301
Total 112,986 33,977 491

PHP Code Analysis | More results »

Lines of code 46,965
Total complexity 11,274
Median class complexity 16.5
Median method complexity 2.0
Most complex class Freemius
Most complex function Redux_Options_Constructor::register()
Classes 186
Methods 2,222
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 25 lines

[10-Sep-2021 16:15:37 UTC] PHP Notice:  Undefined property: stdClass::$default_swatches in /wp-content/plugins/smart-variations-images/includes/class-wcsvfs.php on line 237
[10-Sep-2021 16:15:38 UTC] PHP Notice:  Undefined property: stdClass::$default_swatches in /wp-content/plugins/smart-variations-images/includes/class-wcsvfs.php on line 237
[10-Sep-2021 16:15:38 UTC] PHP Notice:  Undefined property: stdClass::$default_swatches in /wp-content/plugins/smart-variations-images/includes/class-wcsvfs.php on line 237
[10-Sep-2021 16:15:44 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
[10-Sep-2021 16:15:44 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
[10-Sep-2021 16:15:52 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
[10-Sep-2021 16:15:52 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