Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1337188

    Hi,
    I looked but couldn’t the same issue we are facing with last update.
    Gallery suddenly DOUBLED or appears TWICE
    Please look https://myjapanguide.com/local-tour-guides/nagano-jigokudani-private-tour
    Sure you will find solution.
    Best,
    X

    #1337226

    Hey koomo,

    Thank you for the inquiry.

    The duplicate image is from another container with the class name “big-prev-fake”. The theme doesn’t generate this container, so it is probably created by a plugin or a custom script. Did you install an image zoom plugin or any plugin related to images?

    We also found this error in the console.

    Uncaught TypeError: $.avia_utilities.supports is not a function
        at avia_hover_effect (avia.js?ver=1642143592:21:42)
        at Object.$.avia_utilities.avia_ajax_call (avia.js?ver=1642143592:6:29)
        at HTMLDocument.<anonymous> (avia.js?ver=1642143592:3:43)
        at e (jquery.min.js:2:30038)
        at t (jquery.min.js:2:30340)
    external_api.js:1 Uncaught SyntaxError: Unexpected token '<'
    

    Do you have any idea which plugin loads the external_api.js file? We can’t access it because of the CDN rules.

    Best regards,
    Ismael

    #1337235

    Hi Ismael,
    Thank you very much for your prompt reply.
    The external_api was coming from a file coming from WP Rocket in the database. But removing the table didn’t do anything.
    I think I have done whatever is possible.
    I deactivated plugins…didn’t do anything
    Imported the page on some other websites, for some it was fine and for some other it was the same.
    I thought it could come from some websites being on our CDN…but NO.

    So for now added in CSS
    .lightbox-added div.big-prev-fake {display: none;
    }
    And it’s fine. But it doesn’t say where that come from.
    Will do a full scan of the website to see where can be the big-prev-fake
    Will keep you posted.
    Best,
    Xavier

    #1337244

    Hi again,
    I scanned all the website and big-prev-fake can be found as a div class in all pages using gallery.
    But also in Enfold. Details in private

    #1337407

    Hi,

    Thank you for the update.

    I scanned all the website and big-prev-fake can be found as a div class in all pages using gallery.

    We cannot find the class name in any of the gallery files (js, php, css). Are you sure that you actually check the file? Did you toggle the Performance > File Compression settings after deactivating the plugins? Please keep the file compression and cache plugin disabled, then we will check the site again.

    Best regards,
    Ismael

    #1337411

    Hi Ismael
    You said with the class name “big-prev-fake”. The theme doesn’t generate this container
    And just downloaded a enfold from themeforest
    And it seem you use.
    We didn’t add this class to our images.

    gallery.css line 69
    .avia-gallery .big-prev-fake{
    display: none;
    }

    gallery.js line 77
    // since 4.8.8.2 we have a hidden img to support scrset and sizes – fallback to old version if missing
    var newPrev = _self.find( ‘.big-prev-fake img’ ).clone( true );
    if( newPrev.length == 0 )

    gallery.php line 684
    $thumbs .= “<div class=’big-prev-fake‘>{$prev_img_tag}</div>”;
    $thumbs .= ‘‘;

    #1337418

    I did toggle the Performance > File Compression settings after deactivating the plugins? Please keep the file compression and cache plugin disabled, then we will check the site again.

    And it works.

    But we need WP rocket

    #1337453

    Hi,

    Thank you for the update.

    And it works.

    Odd. I cannot find the same code on 4.8.8.2. Have you tried enabling the WP Rocket plugin again? The old scripts and stylesheets were probably still in used because of the file compression but since it is now disabled, the latest ones are now used. You can try to enable the cache plugin again.

    Best regards,
    Ismael

    #1337455

    Hi Ismael,
    All fine after your ideas.
    And WP Rocket activated again.
    Thank you
    Xavier

    #1337682

    Hi,

    Great! Glad to know that it is working correctly now. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Bug report with last update’ is closed to new replies.