-
AuthorPosts
-
January 26, 2022 at 2:56 am #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,
XJanuary 26, 2022 at 7:07 am #1337226Hey 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,
IsmaelJanuary 26, 2022 at 10:38 am #1337235Hi 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,
XavierJanuary 26, 2022 at 11:08 am #1337244Hi 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 privateJanuary 27, 2022 at 6:06 am #1337407Hi,
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,
IsmaelJanuary 27, 2022 at 6:52 am #1337411Hi 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 .= ‘‘;January 27, 2022 at 7:12 am #1337418I 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
January 27, 2022 at 10:12 am #1337453Hi,
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,
IsmaelJanuary 27, 2022 at 10:18 am #1337455Hi Ismael,
All fine after your ideas.
And WP Rocket activated again.
Thank you
XavierJanuary 28, 2022 at 11:49 am #1337682 -
AuthorPosts
- The topic ‘Bug report with last update’ is closed to new replies.