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

2.0.12 Returns a Critical Error and Takes Site Down

Hi. Every time I try to update the plugin to 2.0.12 it returns a critical error message and my site goes down. We put the old version of the plugin back in via FTP and the site comes back up. This is the error that WordPress sent in the recovery email:

Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 131 of the file /home/pipelinegear/public_html/plg-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 = [])

Can you advise? Thank you. Tom

I installed 2.0.12 for the free version and it takes my site down.

We’ve been trying it via FTP this morning (2.0.12). I just rolled it back via FTP and the site comes back. I downloaded the Pro version from my account.

My friend Mike uses the plugin and he is getting the 500 error too. And it’s just the basic plugin (not Pro). He is rolling it back now.

We did some googling and downgraded from 8.0 PHP to 7.4 PHP and it then allowed me to update to the new 2.0.12 version. Always something. So for now it looks to be resolved. I will keep you posted if something changes.

Rezwan Shiblu

Hi,

Glad to hear that it is resolved.

Let me know if you face any issues next time. I will happy to assist.

Thank you.