• Resolved titsmaker

    (@titsmaker)


    Hi, after recent update of Flying Pages plugin it stopped working properly when JS comine is turned on in Litespeed Cache (https://ww.wp.xz.cn/plugins/litespeed-cache/). In that case images are not loaded on the page at all.
    I excluded Flying Pages js file from combining and it fixed the issue. Can you please investigate what’s wrong?

    • This topic was modified 6 years, 5 months ago by titsmaker.
    • This topic was modified 6 years, 5 months ago by titsmaker.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker can you pls share the URL of the site? Also, are you referring to Flying Images? because Flying Pages doesn’t do anything to images

    Thread Starter titsmaker

    (@titsmaker)

    I don’t use Flying Images. There’s no mistake here. I suppose it’s messing combined JS somehow affecting lazy loading or something else. Currently Flying Pages are excluded from combining and everything works as intended. If checking my site would be still benefetial to you even when it’s working fine I will provide a link.

    Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker I’ll need to access you admin, turn on combine in order to see what is causing the issue. Pls, add me an admin [email protected].

    I use LS cache + combined JS in wpspeedmatters.com. No issues so far

    Thread Starter titsmaker

    (@titsmaker)

    Unfortunately I can’t do that on live site. Maybe you give me some direction in which I should search for an error or suggest some tools which can reveal the issue?

    Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker check browsers console for errors. If the plugin in active, what’s the url of the site?

    Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker there was a small bug when minified. It’s fixed in v2.2.2. Can you pls recheck now?

    Thread Starter titsmaker

    (@titsmaker)

    Thank you for your efforts to solve the issue. Here’s the error from Chrome console – https://gyazo.com/b16936b19cc9fb559573b1428d96af62
    And here’s the code from mentioned in error message 15th line of minified JS:

    ;!function(a){var b="-",c="";screen.width&&(width=screen.width?screen.width:"",height=screen.height?screen.height:"",c+=width+" x "+height);var d,e,f,g=navigator.appVersion,h=navigator.userAgent,i=navigator.appName,j=""+parseFloat(navigator.appVersion),k=parseInt(navigator.appVersion,10);-1!=(e=h.indexOf("Opera"))&&(i="Opera",j=h.substring(e+6),-1!=(e=h.indexOf("Version"))&&(j=h.substring(e+8))),-1!=(e=h.indexOf("OPR"))?(i="Opera",j=h.substring(e+4)):-1!=(e=h.indexOf("Edge"))?(i="Edge",j=h.substring(e+5)):-1!=(e=h.indexOf("MSIE"))?(i="Internet",j=h.substring(e+5)):-1!=(e=h.indexOf("Chrome"))?(i="Chrome",j=h.substring(e+7)):-1!=(e=h.indexOf("Safari"))?(i="Safari",j=h.substring(e+7),-1!=(e=h.indexOf("Version"))&&(j=h.substring(e+8))):-1!=(e=h.indexOf("Firefox"))?(i="Firefox",j=h.substring(e+8)):-1!=h.indexOf("Trident/")?(i="Internet",j=h.substring(h.indexOf("rv:")+3)):(d=h.lastIndexOf(" ")+1)<(e=h.lastIndexOf("/"))&&(i=h.substring(d,e),j=h.substring(e+1),i.toLowerCase()==i.toUpperCase()&&(i=navigator.appName)),-1!=(f=j.indexOf(";"))&&(j=j.substring(0,f)),-1!=(f=j.indexOf(" "))&&(j=j.substring(0,f)),-1!=(f=j.indexOf(")"))&&(j=j.substring(0,f)),k=parseInt(""+j,10),isNaN(k)&&(j=""+parseFloat(navigator.appVersion),k=parseInt(navigator.appVersion,10));var l=/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(g),m=b,n=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var o in n){var p=n[o];if(p.r.test(h)){m=p.s;break}}var q=b;switch(/Windows/.test(m)&&(q=/Windows (.*)/.exec(m)[1],m="Windows"),m){case"Mac OS X":q=/Mac OS X (10[\.\_\d]+)/.exec(h)[1];break;case"Android":q=/Android ([\.\_\d]+)/.exec(h)[1];break;case"iOS":q=/OS (\d+)_(\d+)_?(\d+)?/.exec(g),q=q[1]+"."+q[2]+"."+(0|q[3])}var r="no check";if("undefined"!=typeof swfobject){var s=swfobject.getFlashPlayerVersion();r=s.major>0?s.major+"."+s.minor+" r"+s.release:b}a.jscd={screen:c,browser:i,browserVersion:j,browserMajorVersion:k,mobile:l,os:m,osVersion:q,flashVersion:r}}(this),function(a){var b=a("html");b.addClass("browser-"+jscd.browser),b.addClass("platform-"+jscd.os)}(jQuery);
    Updating to 2.2.2 didn’t fix the issue.
    My site is https://artifactoria.com

    Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker I checked the site in detail. There is no such error in the live site. Also, the error you saw in the console (from the screenshot) is not from FLying Pages.

    I can see that the pages are preloading properly without any errors in the console.

    Thread Starter titsmaker

    (@titsmaker)

    There’s no error because I exclude Flying Pages JS from combining, otherwise the site is not usable for visitors. Looks like the code in line 15 of combined JS is not from Flying Pages indeed, but as soon as I exclude Flying Pages from JS combining everything is back to normal. I am in conversation with Litespeed simultaneously, maybe they will shed some light on it.

    Plugin Author Gijo Varghese

    (@gijo)

    @titsmaker can you create a staging site and add me as an admin ([email protected])

    Otherwise, I’m not able to debug the issue further

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

The topic ‘JS Combine + Flying pages is causing issues’ is closed to new replies.