Home Forums WoodMart support forum After Update – Automatically Added Code all Pages

After Update – Automatically Added Code all Pages

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #359430

    soluzionibwg
    Participant

    Hi, after updating to version 6.3, I found an error on the whole portal and on every page
    [Error] ReferenceError: Can’t find variable: MtPopUpList
    (funzione anonima) (fourapperdistribution.kinsta.cloud:6039:93)

    I find this code in the table related to theme woodmart without knowing why, this happened after the update.

    Unfortunately this code that I do not know and I have not entered is causing me many problems, You could check it out for a moment

    Here you will find all the points where I see this code
    https://ibb.co/mHwfDfX
    https://ibb.co/283Jyhs
    https://ibb.co/7yfHQK9
    https://ibb.co/D5J3DWL
    https://ibb.co/84RSY0T
    https://ibb.co/XyX8Rym

    Attachments:
    You must be logged in to view attached files.
    #359606

    Artem Temos
    Keymaster

    Hello,

    This code is not related to our theme. You need to try to disable all external plugins and see how it works. Then enable them all one by one to see which of them causes this problem.

    Kind Regards

    #359628

    soluzionibwg
    Participant

    I have already tried to disable everything, but I can already find this code in the database and in the products and at the time of the update that was inserted in the database

    #359629

    Artem Temos
    Keymaster

    Our theme doesn’t add any code to the database like that during the update. You can roll back if you have a backup and we will update the theme for you to prove it.

    #359631

    soluzionibwg
    Participant

    This code was also added in the previous update, could you at least tell me where it might have come from

    #359639

    soluzionibwg
    Participant

    What I understood that this code has entered all the boxes where this editor is in the theme settings, what could it be?

    View screen attach

    Attachments:
    You must be logged in to view attached files.
    #359642

    soluzionibwg
    Participant

    See in all these points this code has been inserted, I’m going to search on thema where it is inserted

    Attachments:
    You must be logged in to view attached files.
    #359648

    soluzionibwg
    Participant

    Then I realized that when I go to the woodmart settings, and I am in front of an editor TinyMCE, if that script is I remove and save it I don’t see it anymore but if after saving I update the page I see it inserted again, this is very strange

    Attachments:
    You must be logged in to view attached files.
    #359668

    soluzionibwg
    Participant

    After reviewing this with our malware team, we have found the next information.
    This code is generated by the Theme Woodmart

    856 | xts-woodmart-options | a:491:

    fourapperdistribution@jip-fourapperdistribution:~/public/wp-content/themes$
    grep -ril xts-woodmart-options woodmart/wpml-config.xml
    woodmart/inc/theme-setup.php
    woodmart/inc/modules/header-builder/Manager.php
    woodmart/inc/admin/import/class-options.php
    woodmart/inc/admin/options/controls/reset/class-reset.php

    Please, check this with your developer.
    fourapperdistribution@jip-fourapperdistribution:~/public/wp-content/themes$ grep -ril xts-woodmart-options woodmart/wpml-config.xml woodmart/inc/theme-setup.php woodmart/inc/modules/header-builder/Manager.php woodmart/inc/admin/import/class-options.php woodmart/inc/admin/options/controls/reset/class-reset.php

    #359670

    Artem Temos
    Keymaster

    Sorry, but we don’t understand anything from this report. What does it mean? Does it say that they found some code with xts-woodmart-options in our theme files? Of course, they exist in our theme. But how it is related to your problem? Please, clarify so we can help you.

    #359673

    soluzionibwg
    Participant

    I find myself automatically inserted this code in the various points of the theme where the editor is TinyMCE, see attached screen and if I try to delete it and save it, after saving it is inserted again
    THIS IS CODE:
     
    <div id=”WidgetFloaterPanels” class=”LTRStyle” style=”display: none; text-align: left; direction: ltr; visibility: hidden;” translate=”no”>
    <div id=”WidgetFloater” style=”display: none;”>
    <div id=”WidgetLogoPanel”><span id=”WidgetTranslateWithSpan”>TRANSLATE with </span> <span id=”WidgetCloseButton” title=”Exit Translation”>x</span></div>
    <div id=”LanguageMenuPanel”>
    <div class=”DDStyle_outer”><input id=”LanguageMenu_svid” style=”display: none;” autocomplete=”on” name=”LanguageMenu_svid” type=”text” value=”en” /> <input id=”LanguageMenu_textid” style=”display: none;” autocomplete=”on” name=”LanguageMenu_textid” type=”text” /> <span id=”__LanguageMenu_header” class=”DDStyle” tabindex=”0″>English</span>
    <div style=”position: relative; text-align: left; left: 0;”>
    <div style=”position: absolute; ;left: 0px;”>
    <div id=”__LanguageMenu_popup” class=”DDStyle” style=”display: none;”>
    <table id=”LanguageMenu” border=”0″>
    <tbody>
    <tr>
    <td>Arabic</td>
    <td>Hebrew</td>
    <td>Polish</td>
    </tr>
    <tr>
    <td>Bulgarian</td>
    <td>Hindi</td>
    <td>Portuguese</td>
    </tr>
    <tr>
    <td>Catalan</td>
    <td>Hmong Daw</td>
    <td>Romanian</td>
    </tr>
    <tr>
    <td>Chinese Simplified</td>
    <td>Hungarian</td>
    <td>Russian</td>
    </tr>
    <tr>
    <td>Chinese Traditional</td>
    <td>Indonesian</td>
    <td>Slovak</td>
    </tr>
    <tr>
    <td>Czech</td>
    <td>Italian</td>
    <td>Slovenian</td>
    </tr>
    <tr>
    <td>Danish</td>
    <td>Japanese</td>
    <td>Spanish</td>
    </tr>
    <tr>
    <td>Dutch</td>
    <td>Klingon</td>
    <td>Swedish</td>
    </tr>
    <tr>
    <td>English</td>
    <td>Korean</td>
    <td>Thai</td>
    </tr>
    <tr>
    <td>Estonian</td>
    <td>Latvian</td>
    <td>Turkish</td>
    </tr>
    <tr>
    <td>Finnish</td>
    <td>Lithuanian</td>
    <td>Ukrainian</td>
    </tr>
    <tr>
    <td>French</td>
    <td>Malay</td>
    <td>Urdu</td>
    </tr>
    <tr>
    <td>German</td>
    <td>Maltese</td>
    <td>Vietnamese</td>
    </tr>
    <tr>
    <td>Greek</td>
    <td>Norwegian</td>
    <td>Welsh</td>
    </tr>
    <tr>
    <td>Haitian Creole</td>
    <td>Persian</td>
    <td></td>
    </tr>
    </tbody>
    </table>
    </div>
    </div>
    </div>
    </div>
    <script type=”text/javascript”> var LanguageMenu; var LanguageMenu_keys=[“ar”,”bg”,”ca”,”zh-CHS”,”zh-CHT”,”cs”,”da”,”nl”,”en”,”et”,”fi”,”fr”,”de”,”el”,”ht”,”he”,”hi”,”mww”,”hu”,”id”,”it”,”ja”,”tlh”,”ko”,”lv”,”lt”,”ms”,”mt”,”no”,”fa”,”pl”,”pt”,”ro”,”ru”,”sk”,”sl”,”es”,”sv”,”th”,”tr”,”uk”,”ur”,”vi”,”cy”]; var LanguageMenu_values=[“Arabic”,”Bulgarian”,”Catalan”,”Chinese Simplified”,”Chinese Traditional”,”Czech”,”Danish”,”Dutch”,”English”,”Estonian”,”Finnish”,”French”,”German”,”Greek”,”Haitian Creole”,”Hebrew”,”Hindi”,”Hmong Daw”,”Hungarian”,”Indonesian”,”Italian”,”Japanese”,”Klingon”,”Korean”,”Latvian”,”Lithuanian”,”Malay”,”Maltese”,”Norwegian”,”Persian”,”Polish”,”Portuguese”,”Romanian”,”Russian”,”Slovak”,”Slovenian”,”Spanish”,”Swedish”,”Thai”,”Turkish”,”Ukrainian”,”Urdu”,”Vietnamese”,”Welsh”]; var LanguageMenu_callback=function(){ }; var LanguageMenu_popupid=’__LanguageMenu_popup’; </script></div>
    <div id=”CTFLinksPanel”><span id=”ExternalLinksPanel”> </span></div>
    <div id=”FloaterProgressBar”></div>
    </div>
    <div id=”WidgetFloaterCollapsed” style=”display: none;”>TRANSLATE with </div>
    <div id=”FloaterSharePanel” style=”display: none;”>
    <div id=”ShareTextDiv”><span id=”ShareTextSpan”> COPY THE URL BELOW </span></div>
    <div id=”ShareTextboxDiv”><input id=”ShareTextbox” name=”ShareTextbox” readonly=”readonly” type=”text” /> <!–a id=”TwitterLink” title=”Share on Twitter”> <a– id=”FacebookLink” title=”Share on Facebook”> </a–> </div>
    <div id=”ShareFooter”><span id=”ShareHelpSpan”> </span> <span id=”ShareBackSpan”> Back</span></div>
    <input id=”EmailSubject” name=”EmailSubject” type=”hidden” value=”Check out this page in {0} translated from {1}” /> <input id=”EmailBody” name=”EmailBody” type=”hidden” value=”Translated: {0}%0d%0aOriginal: {1}%0d%0a%0d%0aAutomatic translation powered by Microsoft® Translator%0d%0ahttp://www.bing.com/translator?ref=MSTWidget” /> <input id=”ShareHelpText” type=”hidden” value=”This link allows visitors to launch this page and automatically translate it to {0}.” /></div>
    <div id=”FloaterEmbed” style=”display: none;”>
    <div id=”EmbedTextDiv”><span id=”EmbedTextSpan”>EMBED THE SNIPPET BELOW IN YOUR SITE</span> </div>
    <div id=”EmbedTextboxDiv”><input id=”EmbedSnippetTextBox” name=”EmbedSnippetTextBox” readonly=”readonly” type=”text” value=”<div id=’MicrosoftTranslatorWidget’ class=’Dark’ style=’color:white;background-color:#555555′></div><script type=’text/javascript’>setTimeout(function(){var s=document.createElement(‘script’);s.type=’text/javascript’;s.charset=’UTF-8′;s.src=((location && location.href && location.href.indexOf(‘https’) == 0)?’https://ssl.microsofttranslator.com&#8217;:’http://www.microsofttranslator.com&#8217;)+’/ajax/v3/WidgetV3.ashx?siteData=ueOIGRSKkd965FeEGM5JtQ**&ctf=true&ui=true&settings=manual&from=en’;var p=document.getElementsByTagName(‘head’)[0]||document.documentElement;p.insertBefore(s,p.firstChild); },0);</script>” /></div>
    <div id=”EmbedNoticeDiv”><span id=”EmbedNoticeSpan”>Enable collaborative features and customize widget: Bing Webmaster Portal</span></div>
    <div id=”EmbedFooterDiv”><span id=”EmbedBackSpan”>Back</span></div>
    </div>
    <script type=”text/javascript”> var intervalId = setInterval(function () { if (MtPopUpList) { LanguageMenu = new MtPopUpList(); var langMenu = document.getElementById(LanguageMenu_popupid); var origLangDiv = document.createElement(“div”); origLangDiv.id = “OriginalLanguageDiv”; origLangDiv.innerHTML = “<span id=’OriginalTextSpan’>ORIGINAL: </span><span id=’OriginalLanguageSpan’></span>”; langMenu.appendChild(origLangDiv); LanguageMenu.Init(‘LanguageMenu’, LanguageMenu_keys, LanguageMenu_values, LanguageMenu_callback, LanguageMenu_popupid); window[“LanguageMenu”] = LanguageMenu; clearInterval(intervalId); } }, 1); </script></div>”

    Attachments:
    You must be logged in to view attached files.
    #359678

    soluzionibwg
    Participant

    Into Table fourapper_options for row 856 for id xts-woodmart-options, I find this code that has been inserted automatically, I have attached the SQL code to you and I have sent you print

    Attachments:
    You must be logged in to view attached files.
    #359680

    soluzionibwg
    Participant

    This is link for download file SQL https://we.tl/t-m5ms9OlpIy

    Attachments:
    You must be logged in to view attached files.
    #359682

    Artem Temos
    Keymaster

    But our theme never contained any .sql files at all. It might be affected on your website somehow. You can download our theme from ThemeForest and see that there no such files there.

    #359683

    soluzionibwg
    Participant

    ok but how do i avoid having this code in the theme? Why does it fit in every time?

    #359786

    Artem Temos
    Keymaster

    It looks like your website is affected by some virus code (that you showed in your previous messages). You need to find and delete all these files.

Tagged: 

Viewing 16 posts - 1 through 16 (of 16 total)