• Resolved mbablus84

    (@mbablus84)


    Hey There, It was working fine until I updated the plugin to the latest version that is 5.0.1 on my blogs http://www.teckalacarte.com and http://www.bloggersbooks.com . The moment I activated I started getting this weird error at the footer of the blog. Initially it was not happening, not sure what went wrong with this update. I tried to deactivate and activate No luck!, I also tried to remove and install again but again no luck. Kindly help. Thanks in advance.

    jQuery(document).ready(function(a){a("a.nturl").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="en",lang_prefix=a(this).attr("class").split(" ")[2],lang_prefix==default_lang?l():n()}),a("a.flag").on("click",function(){function l(){doGoogleLanguageTranslator(default_lang+"|"+default_lang)}function n(){doGoogleLanguageTranslator(default_lang+"|"+lang_prefix)}default_lang="en",lang_prefix=a(this).attr("class").split(" ")[2],a(".tool-container").hide(),lang_prefix==default_lang?l():n()}),0==a("body > #google_language_translator").length&&a("#glt-footer").html("
    ")});

    https://wordpress.org/plugins/google-language-translator/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi mbablus84,

    Thanks for posting this error – WordPress forced some coding updates just recently, and I had to make a modification, so this is where the problem lies.

    It would really help to see this issue in your environment. Would you be willing to provide access to your Dashboard so that I could examine this issue? This is a problem that needs to get resolved fast.

    You can contact me security here: http://wp-studio.net/contact/

    I look forward to solving this issue ASAP.

    Thanks, Rob

    mbablus84,

    I see this issue is resolved. Is this correct? I still see code at the bottom of your website.

    Let me know…

    Thanks!

    Thread Starter mbablus84

    (@mbablus84)

    Hi Rob, Thanks for replying. No, the error is not yet resolved. we still have the issue. If you can let me know your email ID, I will be able to set up your account on my blog. Thank you. If you see http://www.bloggersbooks.com and http://www.teckalacarte.com for both The weird codes are still there. Any support with this is much appreciated, I tried already to reach you through the URL you have given but no luck, have got no reply. Thanks again for your help.

    Thanks for the reply mbablus84.

    Please send one more email with your the new login – I was not aware of an email coming in from you. I’m sorry 🙂

    If you send within the next couple of days, I will surely keep an eye open and we can get this figured out.

    Thanks for making me aware of this. Rob

    http://wp-studio.net/contact/

    Hi mbablus84,

    I actually found your email now, so I sent you my contact details directly. Let me know that you received and we can discuss the issue through email and get it solved.

    Thanks, Rob

    Hi mbablus84,

    I found that your WP Rocket plugin is using Cloudflare to cache your website. Something happened when plugin was installed and the <script> tag was somehow stripped from the code placed in the footer by our plugin. I de-activated the plugin, then re-activated just to make sure that the activation hook reset.

    I then needed to put Cloudflare into Development mode so that cache would reset, and this is located in Settings > WP Rocket > Cloudflare. Once I allowed cache to update everything worked fine.

    Your website was simply caching the issue at that one moment in time, and it never updated!

    I hope this helps. You should be able to take care of this for http://www.teckalacarte.com/ as well. Let me know if you need further assistance.

    Rob Myrick

    Thread Starter mbablus84

    (@mbablus84)

    Finally found the exact issue, in case someone else is using WP Rocket I am sharing here. When I am enabling Google Fonts optimization it is creating those weird scripts, otherwise it is all fine. Currently I am using the plugin with disabling the Google Fonts optimisation plugin and everything seems okay. Hopefully this can be fixed later in some release Rob, on you mate whenever you feel like. 🙂 Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Weird Code Scripts in Footer’ is closed to new replies.