Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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?
    Thanks

    #1116915

    Hey Julien,

    What happens if you clear the cache from Hummingbird and leave it deactivated?

    Best regards,
    Rikard

    #1117005

    Hi 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?

    #1117261

    Hi,

    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,
    Rikard

    #1117346

    In 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

    #1117441

    Hi,

    Please let us know the result.

    Best regards,
    Jordan Shannon

    #1117465

    Support post is here, if it can help others.

    #1117665

    Hi,

    Great, thanks for sharing :-)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.