- This topic has 9 replies, 3 voices, and was last updated 5 months, 2 weeks ago by Tom.
August 8, 2020 at 10:43 pm #1393533Fahmi
I am seeing error in my blog after CDN is activate.
Below is the error:
Uncaught ReferenceError: blog is not defined
at HTMLDocument.<anonymous> (scripts.min.js?ver=1.11.1&iv=30:1)
at i (jquery.js?ver=1.12.4-wp&iv=30:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp&iv=30:2)
at Function.ready (jquery.js?ver=1.12.4-wp&iv=30:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp&iv=30:2)
My blog use Comet Cache plugin.
But when CDN is enable, cdn.blog.com. This will produce error above and infinite scroll does not working.August 9, 2020 at 10:22 am #1394263DavidStaffCustomer SupportAugust 9, 2020 at 2:54 pm #1394498Fahmi
I have edit and add the link to my website.
Would you please take a look. Maybe I do something wrong.
The error only occur when cdn is activated.
I have activated the cdn for you to see and the infinite scroll button is not loading when click.
Thank you.August 10, 2020 at 2:44 am #1394978DavidStaffCustomer SupportAugust 10, 2020 at 4:20 am #1395120Fahmi
But I have deactivate the cdn function. Hope it can be solve.August 10, 2020 at 9:40 am #1395781TomLead DeveloperLead Developer
I believe that error is happening because the file is cached.
What happens if you clear/purge all caches?August 10, 2020 at 10:39 am #1395881Fahmi
I have tried cleared cache. Trying open website using incognito mode. Open with different browser. It not working and still got error.
It will work when using cache plugin without cdn. And only not work when cdn is enabled.August 10, 2020 at 10:51 am #1395902TomLead DeveloperLead Developer
I got it working now.
Thanks for your help. 🙂August 10, 2020 at 11:14 am #1395951
- You must be logged in to reply to this topic.