-
AuthorPosts
-
July 8, 2019 at 2:56 pm #1116694
Hi
I have an issue with animated numbers staying blocked at 00.
I have no console errors, but when I check the source code of the page, I can only see the call for ‘avia-module-numbers-css’, not the corresponding js script…
Any idea what causes this issue?
ThanksJuly 9, 2019 at 6:27 am #1116915Hey Julien,
What happens if you clear the cache from Hummingbird and leave it deactivated?
Best regards,
RikardJuly 9, 2019 at 10:44 am #1117005Hi Rikard
Working with Hummingbird caching and file order (head or footer), I finally found out that if I enable compression on “avia-compat.js”, the Animated Numbers would not work.The avia-compat.js file states on line 2 that it should be loaded at page top, and that’s what I did for ages, but I hadn’t think compressing it would be an issue. Maybe it has to do with the fact that the file path is changed by Hummingbird when compressed? Maybe something has to be changed in order to allow for compression (though it is a small file so it’s not that critical).
My issue is solved, but maybe you can find something to optimize to prevent such issues for others?
July 10, 2019 at 4:32 am #1117261Hi,
Great, I’m glad that you got it working. The order or loading might be the issue, I can’t really say how that plugin works though. But in general, caching and optimisation plugins usually combine files into one, and that might be the problem in this case. I don’t think there is anything we can do to stop that behaviour though.
Best regards,
RikardJuly 10, 2019 at 9:41 am #1117346In my case, I don’t use file conbination, and the order was not the issue.
When compressed, it did’nt work whether it was loaded in head or footer,
when uncompressed, it works either way.Plus when there are order issues, you generally get some javascript errors logged in the console, but I had no log here.
So it has to do with the way the file is compressed it seems.
I’ll pass this to WPMUDEV, maybe they will be able to sort this out.Thx
July 10, 2019 at 1:07 pm #1117441Hi,
Please let us know the result.
Best regards,
Jordan ShannonJuly 10, 2019 at 1:55 pm #1117465Support post is here, if it can help others.
July 11, 2019 at 5:17 am #1117665 -
AuthorPosts
- You must be logged in to reply to this topic.