• Resolved chendaniel

    (@chendaniel)


    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 2 years, 7 months ago by chendaniel.
    • This topic was modified 2 years, 7 months ago by chendaniel.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    It’s just about excluding a single script

    so have you tried excluding that single Global Gallery script from JS optimization? ??

    Thread Starter chendaniel

    (@chendaniel)

    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

    (@optimizingmatters)

    asking/ providing login info 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

    (@chendaniel)

    I didnt activated any js settings only css, ill add screeenshot
    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

    (@optimizingmatters)

    OK, weird that the developer mentioned excluding scripts then.

    can you try unticking the “also minify excluded CSS/ JS” option?

    Thread Starter chendaniel

    (@chendaniel)

    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

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! ??

    have a nice weekend!
    frank

    Thread Starter chendaniel

    (@chendaniel)

    never mind.. it didnt work
    im still facing the problem ??
    what do u suggest to do ?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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.