PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

"looping" in the front-end making the inline javascript code to be written ~3.000 times in the HTML.

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Greetings,

We noticed that an wc_enqueue_js script was kinda"looping" in the front-end making the inline javascript code to be written ~3.000 times in the HTML.

The issue appears both in logged/non-logged-in, cached/uncached version of our website.

The aforementioned enqueue is happening in:
\woocommerce-currency-switcher\classes\fixed\fixed_shipping_free.php:36
We commented-out the wc_enqueue_js to solve the loop appearing in the front-end, but I believe that the actual PHP code loop is happening again and again, and it greatly decreases our website performance untl the stack exits.
Its quite a complex website with 70 active plugins, so I cannot be straightforward on what may cause the issue.

I would attach the Woo Report and an image but it doesn't let me.

Hello

What plugin version number are you using?

CanĀ  you drop me wp-admin access - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134615.png

Hey Pablo,

 

I have updated the details and have given access to the staging site, you can play around a bit in it as we are not operating in it as of now.

The plugin version we are having on teh live site is Version 2.4.1.9 (same to staging)

 

Thanks again & best wishes,

Florian

Hello

Please update the plugin to latest version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

and do a test