fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Bug with new update

Hi, our site occasionally throws up an error, ever since updating your plugin;

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.0.1
Active theme: Storefront (version 4.1.0)
Current plugin: Variation Swatches for WooCommerce (version 2.0.7)
PHP version 7.4.30

Error Details
=============
An error of type E_ERROR was caused in line 53 of the file /srv/htdocs/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-product-page.php. Error message: Uncaught Error: Call to a member function get() on null in /srv/htdocs/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-product-page.php:53
Stack trace:
#0 /wordpress/core/6.0.1/wp-includes/class-wp-hook.php(307): Woo_Variation_Swatches_Product_Page->cache_ajax_response(Array)
#1 /wordpress/core/6.0.1/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
#2 /wordpress/core/6.0.1/wp-includes/functions.php(1504): apply_filters(‘nocache_headers’, Array)
#3 /wordpress/core/6.0.1/wp-includes/functions.php(1526): wp_get_nocache_headers()
#4 /wordpress/plugins/jetpack/11.3-a.3/modules/protect/blocked-login-page.php(467): nocache_headers()
#5 /wordpress/plugins/jetpack/11.3-a.3/modules/protect/blocked-login-page.php(398): Jetpack_Protect_Blocked_Login_Page->display_page(‘Jetpack has loc…’, ‘Your IP a…’, NULL, true)
#6 /wordpress/plugins/jetpack/11.3-a.3/modules/protect/blocked-login-page.php(407): Jetpack_Protect_Blocked_Login_Page->protect_die(‘Your IP a…’, ‘Jetpack has loc…’, NULL, true)
#7 /wordpress/plugins/jetpack/11.3-a.3/modules/protect/blocked-login-page.php(309): Jetpack_Protect_Blocked_Login_Page->render_recovery_form()
#8 /wordpress/plugins/jetpack/11.3-a.3/modules/protect.php(740): Jetpack_Protect_Blocked_Login_Page->render_and_die()
#9 /wordpress/plugins/jetpack/11.3-a.3/modules/protect.php(586): Jetpack_Protect_Module->kill_login()
#10 /wordpress/plugins/jetpack/11.3-a.3/modules/protect.php(1006): Jetpack_Protect_Module->check_login_ability()
#11 /wordpress/plugins/jetpack/11.3-a.3/class.jetpack.php(1869): include_once(‘/wordpress/plug…’)
#12 /wordpress/core/6.0.1/wp-includes/class-wp-hook.php(307): Jetpack::load_modules(”)
#13 /wordpress/core/6.0.1/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
#14 /wordpress/core/6.0.1/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#15 /wordpress/core/6.0.1/wp-settings.php(461): do_action(‘plugins_loaded’)
#16 /srv/htdocs/wp-config.php(81): require_once(‘/wordpress/core…’)
#17 /wordpress/core/6.0.1/wp-load.php(55): require_once(‘/srv/htdocs/wp-…’)
#18 /wordpress/core/6.0.1/wp-login.php(12): require(‘/wordpress/core…’)
#19 {main}
thrown

Hakik Zaman

Hi Alister,

Thanks for reaching out to us. We are aware of this issue.

Do you have a staging site with the same setup?

We have already made a new version.

Hope to hear from you soon!

Thank You