• Resolved cvmh

    (@cvmh)


    When I’m trying to sync a plugin, sync doesn’t stop so I can’t translate new strings in my code.
    In console I have this message : “Uncaught TypeError: can’t access property “length”, d is undefined” in /wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:12

    Any idea ?

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

    (@timwhitlock)

    Do you get the same error if you disable all other plugins except Loco Translate?

    Thread Starter cvmh

    (@cvmh)

    Yes same issue

    Plugin Author Tim W

    (@timwhitlock)

    Are you able to install the current development version and try again?

    Please re-post your error if it occurs, and ideally the whole stack trace from the console.

    Plugin Author Tim W

    (@timwhitlock)

    Thanks for the stack trace in the other thread, but I need this from the dev version. Please install and repost here.

    Thread Starter cvmh

    (@cvmh)

    Same issue with the dev version. Same js error

    Plugin Author Tim W

    (@timwhitlock)

    It will have different line numbers. I asked specifically for you to repost so I could see the difference. Please post the trace from the dev version.

    Thread Starter cvmh

    (@cvmh)

    Here it is :

    Uncaught TypeError: can't access property "length", d is undefined
        p https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:12
        jQuery 7
        p https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:13
        post https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:16
        O https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/editor.js?ver=2.5.2:1
        sync https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/editor.js?ver=2.5.2:1
        jQuery 2
            dispatch
            handle
    admin.js:12:456
        p https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:12
        jQuery 7
        p https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:13
        post https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/admin.js?ver=2.5.2:16
        O https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/editor.js?ver=2.5.2:1
        sync https://www.xxxxxxx.com/wp-content/plugins/loco-translate/pub/js/min/editor.js?ver=2.5.2:1
        jQuery 2
    Plugin Author Tim W

    (@timwhitlock)

    I think I’ve fixed the script error in the last commit, but your Sync operation is still failing.

    Once you can see a proper error message, you will have to diagnose the response coming back from your server. I can’t guess at what it is, but security settings regularly cause problems with Ajax operations.

    Plugin Author Tim W

    (@timwhitlock)

    This has been reported by two other users and the script error has been fixed in trunk and will be released in v2.5.3.

    As already mentioned – you will still have a problem, but it will not be this one. This error is a bug that prevents the display of the real error.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sync issue’ is closed to new replies.