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

Variation Swatches for WooCommerce – Pro Crashed Website

John Aguirre

With the new wordpress 6.1 upgrade the Pro version crashed the website.
Disabling Pro allows the site to work.
WordPress version 6.1
Active theme: Astra (version 3.9.2)
Current plugin: Variation Swatches for WooCommerce – Pro (version 2.0.11)
PHP version 8.0.17
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 131 of the file /home4/helmetm1/public_html/customprintshawaii/wp-content/plugins/woo-variation-swatches-pro/includes/class-woo-variation-swatches-pro-product-page.php. Error message: Declaration of Woo_Variation_Swatches_Pro_Product_Page::get_item_css_classes($data) must be compatible with Woo_Variation_Swatches_Product_Page::get_item_css_classes($data, $attribute_type, $variation_data = [])

John Aguirre

Thanks,

 

It worked.  Working fine now!

 

Johnny