• Gallery does not display on 3 out of 10 galleries. Console errors are as follows;

    foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1774 ReferenceError: Masonry is not defined
    at HTMLDivElement.onPreInit (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1944)
    at Class.raise (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1846)
    at Class.preInit (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1843)
    at Object.<anonymous> (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1835)
    at Function.s.Deferred (jquery-migrate-3.3.1.min.js?ver=3.3.1:2)
    at Class.initialize (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1835)
    at Object._.init (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1824)
    at HTMLDivElement.<anonymous> (foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1824)
    at Function.each (jquery-3.3.1.min.js?ver=3.3.1:2)
    at s.fn.init.each (jquery-3.3.1.min.js?ver=3.3.1:2)
    onready @ foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1774
    _.ready @ foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1775
    _.load._.reload @ foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1967
    (anonymous) @ foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1967
    (anonymous) @ foogallery-a14b81f02fba1dad36e0fab4b2f85c26.js:1967

    The page and gallery appear to be setup the same as the other 7 pages it works on.

    This started after I updated to FooBox premium. Could you help fix the issue?
    Thanks

    • This topic was modified 4 years, 3 months ago by gotchall.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bradvin

    (@bradvin)

    hi @gotchall

    I had a look at your page and can see that jQuery is not loading and that is causing the errors.

    It seems like you are using a plugin for javascript minification and defer-loading. Is it possible that it the cache has not been cleared on those specific pages? Is it possible to clear/purge the cache?

    Please would you disable the javascript minification plugin and test the site to see if it works?

    Thread Starter gotchall

    (@gotchall)

    bradvin,

    I had cleared the cache previously. I followed your suggestions and found it was a JavaScript minification/defer issue, which did not show up until I updated to the Pro version. What does not make sense is why it only affected 3 out of 10 galleries, when they had the same settings.

    I ended up removing JavaScript control from WP Rocket and having Asset Cleanup do “the same thing”. Same function, but now it works, obviously they are doing something different to achieve similar results.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Galley doesn’t diplay on some pages’ is closed to new replies.