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

Call to undefined function wc_esc_json()

Cédric Noël

Hello,

I currently have a problem with the woocommerce module vairation swatches version 1.1.17 which causes an error on my product page :

Fatal error: Uncaught Error: Call to undefined function wc_esc_json() in woo-variation-swatches/includes/functions.php(1370)

How can I fix this ? Or which version should I reinstall ?

Thanks in advance

Tanvirul Haque

Hi Cédric,

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 issue is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.

If the plugin conflict check doesn’t help, please record me reproducing your issue using a tool like this? https://www.useloom.com
It helps me to figure out the issue quickly and squash it immediately.

And don’t forget to add your site login details in the site login details area. I’ll check what’s happening there.

You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.

And add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7

Hope to hear from you soon!

Thank you

Cédric Noël

Hello,

I tried to deactivate all the third party plugins but it did not work, I still have this error.

I deactivated the plugin and the problem disappeared. So the problem is really with the plugin.

I haven’t reactivated it because I need my pages to work.

I have never used loom, and I did not understand very well, how I should proceed to provide you with access. Is there any other way for me to send you what you need?

Thank you in advance.

Tanvirul Haque

Hi Cédric,

I am the Lead Technical Engineer of this plugin, Could you add me here on Skype? My Skype ID is: shovon.haque2

Please add me and say hi with your ticket ID. I am waiting for you there to quickly squash your issue.

Thank

Tanvirul Haque

Hi Cédric,

You are using a very old version of WooCommerce. Could you update the woo commerce and also your free and premium version of the WooCommerce Variation Swatches plugin?

The current version of swatches plugins is the following.

WoooCoommerce – Version 5.3.0

Variation Swatches for WoooCoommerce – Version 1.1.17

Variation Swatches for WooCommerce Pro – Version 1.1.17

Please make sure you are using the same version and let me know your reported issue has been fixed or not in this latest update?

Thank You