Skip Navigation

[Escalated to 2nd Tier] When opening an image in lightbox, the close icon gets duplicated a lot of times

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 9 replies, has 2 voices.

Last updated by Jamal 2 years, 10 months ago.

Assisted by: Jamal.

Author
Posts
#2210965

Hi, this is a follow up for this thread, which was closed by the bot: https://toolset.com/forums/topic/when-opening-an-image-in-lightbox-the-close-icon-gets-duplicated-a-lot-of-times/

I did some more testing, and it seems that the slider under the large featured image causes this problem. When I remove that, the problem is solved...

#2210991

Hello and thank you for contacting Toolset support.

Can I get access to your website to check this further? Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

I might need to take a copy of the website for further debugging, please let me know if that's fine with you.

#2211051

The copy has failed to build for me too. So, I took only a copy of the database. But, I'll still need the themes and plugins folder to build the copy in my local server. I assume that you use cPanel or some other user interface to manage your hosting, please create a zip file from the themes and plugins folder inside wp-content and share it. Your next reply will be private to let you share the download URL safely.

#2211927

I built a copy of your website locally, and I could not reproduce the issue in a minimal setup(2021theme+Toolset plugins). The issue was not reproduced. In fact, the lightbox did not open at all. With your current theme, the issue was not reproduced either.

After activating the W3 Total Cache and Autoptimize plugins, the issue reappeared. It seems to happen when the Autoptimize plugin.

I have also tried to recover the image block to no avail until I choose a post that has an image to preview with. Check this screenshot hidden link

So, I get back to the website, and I recreated the image block, then I disabled Javascript optimization in Settings->Autoptimize, but that did not help. The issue is still reproduced even after purging the cache.

I want to try disabling both plugins on the website, and I wanted to make sure that you have a recent database backup before I perform it. Please let me know when can you take a recent database backup.

#2211933

Hi Jamal,

Sure, no problem. Backups are recent.

#2212101

Thank you. The issue persisted after deactivating both plugins. I suspect that the issue comes from the mobile slider that is by default hidden on the desktop. I am going to make a small test on a clean install and I'll get back to you.
The view in question is used with a shortcode:

[wpv-view name="artworks-slider-mob" wpvrelatedto="[wpv-post-id item='@artist-artwork.parent']"]
#2212149

I was able to reproduce this issue on a clean install. It seems to happen when a slider is hidden using CSS.

I'll get back to you about it as soon as possible.

#2212701

The issue is now escalated to our 2nd Tier for further debugging. I'll get back to you as soon as we have something to share.

#2291045

Any update on this?

#2291743

Hello Marcel, thank you getting back to check on this. Unfortunately, the developers did not fix this yet. I'am checking them again about it and I'll get back to you as soon as we have something to share.

Our sincere apologies for the inconvenience.