Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul de Quant 403 posts 1520 karma points
    Apr 23, 2018 @ 14:05
    Paul de Quant
    0

    moment.defineLocale is not a function

    Hello,

    I've just upgraded a CMS from 7.5.13 to 7.10.3. I've now noticed in the console log a javascript error:-

    Uncaught TypeError: moment.defineLocale is not a function

    var en_gb = moment.defineLocale('en-gb', {
    

    I can't seem to get rid of it.

    Has anyone seen this error before and if so did you manage to fix it?

    Thanks

    Paul

  • Paul de Quant 403 posts 1520 karma points
    May 01, 2018 @ 08:02
    Paul de Quant
    102

    Turns out this was being caused by the Analytics plugin. As soon as I removed this the error went away.

  • Denford 132 posts 323 karma points
    Oct 04, 2020 @ 05:26
    Denford
    0

    Had the same error rather than un-install it just followed the comments here and just removed it from the package manifest https://github.com/umbraco-community/umbraco-analytics/issues/56

Please Sign in or register to post replies

Write your reply to:

Draft