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

Getting errors

 

[14-Mar-2022 22:09:12 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variation::get_available_variations() in /home/customer/www/hatsonline.com.au/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php:68
Stack trace:
#0 /home/customer/www/hatsonline.com.au/public_html/wp-includes/class-wp-hook.php(307): wvs_pro_get_available_variations(”)
#1 /home/customer/www/hatsonline.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#2 /home/customer/www/hatsonline.com.au/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /home/customer/www/hatsonline.com.au/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action(‘wc_ajax_get_var…’)
#4 /home/customer/www/hatsonline.com.au/public_html/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax(”)
#5 /home/customer/www/hatsonline.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)
#6 /home/customer/www/hatsonline.com.au/public_html/wp-incl in /home/customer/www/hatsonline.com.au/public_html/wp-content/plugins/woo-variation-swatches-pro/includes/functions.php on line 68

Hakik Zaman

Hi Jeremiah,

Thanks for reaching out to us. I have checked the WooCommerce Status Log after seeing your reported issue.

Unfortunately, we didn’t find this error from our side. Can you please answer the following questions-

– Can you please share your server’s PHP version?

– Is it continuously displaying or displayed once on 14-Mar-2022?

– Did you recently add any plugins to your site on 14-Mar-2022?

Hope to hear from you soon!

Thank You

Running PHP 7.4, only happens on shop page and I have installed single variations plugin from ionic.

Hakik Zaman

Hi Jeremiah,

Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :

=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.

=> See if the problem persists. If the problem is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

Looking forward to hearing from you soon.

Thank you