Title: conflict plugins error
Last modified: July 29, 2022

---

# conflict plugins error

 *  Resolved [chendaniel](https://wordpress.org/support/users/chendaniel/)
 * (@chendaniel)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/)
 * Hello,
    Ive been struggling more then a week on solving an issue on my website.
   communicating with rapidload (Shakeeb) and another plugin called global gallery(
   Luca) I have this problem that when activating css optimzation The gallery doesnt
   function properly sometimes work and sometimes doesnt, on mobile version only.
   when clicking on the image it supposed to open in lightbox format, but sometimes
   it just loads the image during infinity time. rapidload claims its error in the
   css & js from the global gallery plugin so I passed forward what shakeeb said
   to global gallery and global gallery claims its an error in autoptimize and rapid
   load..
 * I have such a headache from this situation…. If I disable autoptimize and rapidload
   then the error stops ! but if I activate then the error appears.
    here is the
   global gallery creator answer
 *     ```
       Those classes are perfectly normal, the point is in the reason why some of them are not elaborated. In other words is what I said on my past reply: for watever reason doe to scripts concatenation, only on mobile, the lightbox algorithms go crazy and do not fire the necessary functions to remove the "lcl_pre_first_el" class and to display the lightbox.
   
       The algorithms are exactly the same working on desktop on your site and working in any condition on thousands of other websites since 2017.
       I already debugged on your end and reported what I found:
   
       the Lightbox images preload (leading to lightbox show up) was elaborating strange image indexes
       not matching the index of the image to show, the lightbox never shows up.
   
       I can confirm sometimes concatenating and re-minifying some scripts (JS or CSS) makes them go mad.
   
       It's just about excluding a single script
       ```
   
    -  This topic was modified 3 years, 10 months ago by [chendaniel](https://wordpress.org/support/users/chendaniel/).
    -  This topic was modified 3 years, 10 months ago by [chendaniel](https://wordpress.org/support/users/chendaniel/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconflict-plugins-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871568)
 * > It’s just about excluding a single script
 * so have you tried excluding that single Global Gallery script from JS optimization?
   🙂
 *  Thread Starter [chendaniel](https://wordpress.org/support/users/chendaniel/)
 * (@chendaniel)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871583)
 * Yes, but who knows if I did it properly… is there way that I can share my login
   and details and youll check ?
    How can I send you login information hidden only
   for your view
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871599)
 * [asking/ providing login info](https://wordpress.org/support/guidelines/#the-bad-stuff)
   is forbidden here I’m afraid chendaniel.
 * can you share a (URL of an uploaded) screenshot of your JS optimization settings
   maybe?
 *  Thread Starter [chendaniel](https://wordpress.org/support/users/chendaniel/)
 * (@chendaniel)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871614)
 * I didnt activated any js settings only css, ill add screeenshot
    [https://prnt.sc/Wy6gO0BYBTYa](https://prnt.sc/Wy6gO0BYBTYa)
 * as soon as I activate css optimize then problem happens, if deactivate only this
   check box then it works fine.. so I guess need a way to exclude the plugin…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871644)
 * OK, weird that the developer mentioned excluding scripts then.
 * can you try unticking the “also minify excluded CSS/ JS” option?
 *  Thread Starter [chendaniel](https://wordpress.org/support/users/chendaniel/)
 * (@chendaniel)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871645)
 * Wohhoooo problem solved !
    I excluded the missing script ! I added there lc_lightbox,
   now its all good. anyways .. thanks for the quick reply
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15871768)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 * have a nice weekend!
    frank
 *  Thread Starter [chendaniel](https://wordpress.org/support/users/chendaniel/)
 * (@chendaniel)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15872984)
 * never mind.. it didnt work
    im still facing the problem 🙁 what do u suggest 
   to do ?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15873275)
 * well, allow me to take a step back and ask some questions first:
 * * is the problem currently occurring? how can I reproduce it (I tried but did
   no succeed)?
    * does it always occur (on mobile) or sometimes it does and sometimes
   it does not? * are your CSS optimization settings (including exclusions) identical
   to the one in the screenshot you shared yesterday? * is the “minify excluded 
   CSS/ JS” option I proposed yesterday still off? * what was the problem according
   to Shakeeb (I see something about “classes” mentioned)? * when the problem occurs,
   do you see any errors on the browser console? * does the problem go away with
   CSS optimization on but Rapidload off? * does the problem go away with lazyloading(
   in WP Rocket) off? * does the problem go away with JS optimization in WP Rocket(
   delaying) off? * does the problem go away with “preloading” (of images) in WP
   Rocket off? * is “global gallery” only used on that page or on a few others or(
   almost) everywhere?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘conflict plugins error’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/conflict-plugins-error/#post-15873275)
 * Status: resolved