• Resolved kerngebiet

    (@kerngebiet)


    Hello,

    if we try to edit translations in admin, no entries are loaded into the table.
    Wordpress 5.5.1
    Latest Chrome, cache disabled and multiple hard reloads are made.
    User Error Message: “Scripts on this page are not running as expected. Please empty all relevant caches and refresh the screen. If the issue persists, try disabling other plugins that may be modifying the functionality of Loco Translate.”

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Have you see the FAQ?: https://localise.biz/wordpress/plugin/faqs/script-warnings

    Have you tried the suggestions for identifying conflicts?

    Thread Starter kerngebiet

    (@kerngebiet)

    Hello,

    thank you for the quick feedback! Yes we saw the faq, and cleared cache also used browser we never used before. The error occurs in the file loco-js-editor.min.js line 2:

    !function(window, $) {
        var loco = window.locoScope, conf = window.conf, fileRefs = loco.po.ref.init(loco, ...

    Cannot read property ‘po’ of undefined. -> loco is undefined.

    Hope that helps. We want to avoid disabling 50 plugins on a live site.

    Regards

    Plugin Author Tim W

    (@timwhitlock)

    That file is not the one currently in the plugin. v2.4.3

    What is the FULL url to the loco-js-editor.min.js file?

    If you are running the latest version of my plugin then the JavaScript being run has either not been updated (broken install) or has been replaced with a modified version (conflict).

    Are you running “Automatic Translate Addon for Loco Translate” as mentioned in the FAQ?

    Plugin Author Tim W

    (@timwhitlock)

    As you’ve not posted back and the file you’ve mentioned is not part of the plugin, I’m going to mark this as resolved.

    Ensuring a clean install of the latest version and disabling any plugins that are loading broken scripts will fix your issue.

    Feel free to post back if you have any questions.

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

The topic ‘Translations not loading in Admin – Script Error’ is closed to new replies.