Moment timezone

Hi,
My website keeps complaining about moment.js file (Moment Timezone). I’m not sure what is it because I didn’t install it and I don’t know why it’s required.
As a source I can only find information in devTools:
https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.28/moment-timezone-with-data-1970-2030.min.js

Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/

And errors:
Uncaught TypeError: Cannot read properties of undefined (reading ‘version’)
at moment-timezone-with-data-1970-2030.min.js:1:375
at moment-timezone-with-data-1970-2030.min.js:1:164
at moment-timezone-with-data-1970-2030.min.js:1:176

Can you help me with this error and how to solve it because it slows down pages. I don’t even know why it’s only on one of my websites.

This is the website where I can see this error:
https://usesecurevpn.com/

I don’t know how to fix it because I didn’t install it or configure it - or I don’t know that I did it.

It’s very strange.

Thanks for any help

Are you able to capture the browser console log?

Gathering information for troubleshooting sites · Cloudflare Support docs

How are you validating the javascript exception is slowing your site down?

Do you have any tests you can provide for support?

I don’t have to validate the javascript exception slowing down the site - it’s so long that it’s visible. If there is no error then the cache delivers the pages instantly.
If the error exist then the page takes 1-3 seconds to load.
I don’t know tests I can provide instead of the information about error.
I would like to track the code that request the file moment.js which looks like is coming from Cloudflare.
I do not recall installing anything that might need this file, and I have similar websites on different domains but only this one reports that error.

Please, let me know if you can help me fix this error.

Thanks.

That “moment” thing seems to be loaded by a script that’s in a section of your HTML created by something called “Conversiobot”.

There’s very little anyone here could do to help you with your Wordpress installation, but that should give you a starting point for what’s loading that script.

1 Like

Awesome, thank you very much. That helps a lot!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.