Okay
  Public Ticket #706985
Gallery loads only after several refreshes
Closed

Comments

  • Alex started the conversation

    Hi,

    We just bought UG after experiencing problems with UG Lite. Unfortunately, the problem didn't go away.

    This is our setup and what we did to troubleshoot:

    We had a Unite Gallery Lite version 1.7.8 and everything was
    working ine. We have WP 4.4.2 multisite installation and we upgraded to
    5.6.18 php yesterday. After that, the gallery startet loading only after
    several page refreshes. The steps we did to troubleshoot:

    - upgraded UG Lite to 1.7.12

    - uninstalled and re-installed OPcache thinking the cache might have been the problem. no

    - rebuild the galleries

    - deleted the plugin, installed the old version

    - deleted the old version, installed the latest one again

    - purchased the paid version 4401a49f-7087-434f-8548-584769f8b9f6

    - got the following errors again:

    if ("image" == a)
                       throw new Error("The item should not be image type");
                   s.urlThumb = n.data("thumb"), s.title = n.data("title"), s.objThumbImage = null, s.urlImage = n.data("image")
               }

    Error: The item should not be image type  (fillItemsArray unitegallery.min.js:5811)
    fillItemsArrayunitegallery.min.js:4872
    runGalleryunitegallery.min.js:4729
    rununitegallery.min.js:5544:421
    unitegalleryunitegallery.min.js:6556
    (anonymous function)rourkedemo.wp.boomtime.com:191
    jjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:27314
    fireWithjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:28123
    readyjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:29967
    Jjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:30327

    Error: The item should not be image type (fillItemsArray unitegallery.min.js:8:22825)
    fillItemsArrayunitegallery.min.js:7:22824
    runGalleryunitegallery.min.js:7:18794
    rununitegallery.min.js:8:11080
    unitegalleryunitegallery.min.js:9:18913
    (anonymous function)rourkedemo.wp.boomtime.com:215
    jjquery.js:1:27314
    fireWithjquery.js:1:28123
    readyjquery.js:1:29967
    Jjquery.js:1:30327

    Error: The item should not be image type (fillItemsArray unitegallery.min.js:1:182887)
    fillItemsArrayunitegallery.min.js:1:182886
    runGalleryunitegallery.min.js:1:178856
    rununitegallery.min.js:1:203159
    unitegalleryunitegallery.min.js:1:243008
    (anonymous function)rourkedemo.wp.boomtime.com:191
    jjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:27314
    fireWithjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:28123
    readyjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:29967
    Jjquery.js,qver=4c86493cc5791ebbe9b5827889f87f78.pagespeed.jm.zixJPNMRNN.js:1:30327

    The other site with the same issue: http://thecooldemo.wp.boomtime.com/ - the gallery should be under the The Shop and Events button.

    The only thing that works without issues is a grid gallery http://easylawnconm.wp.boomtime.com/photo-gallery/

    Please, advise.

    Thanks

    Alex



  •   Max replied privately
  • Alex replied

    Hi, 

    It looks like we fixed it. We're not 100% sure what caused the problem because our team simultaneously did a couple of things:

    1. change setting in the Troubleshooting tab to no and used shortcode in text widget

    2. our server guy sent me this:

    I believe that Unite Gallery doesn't work well when the apache server had mod_pagespeed activated.  I disabled it and it appears to be working now.  It was disabled on the old server.  We can investigate further to see if there is a way to protect parts of a page from being optimized, but for now it's just disabled.  I have re-enabled opcache since it wasn't contributing to the problem and set the TTL for mtime checks to 10 seconds.

    I hope this helps in identifying the problem.

    Thanks!

    Alex

  •   Max replied privately