Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
Turns out this was being caused by the Analytics plugin. As soon as I removed this the error went away.
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
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
Turns out this was being caused by the Analytics plugin. As soon as I removed this the error went away.
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
is working on a reply...