• Resolved nerik73

    (@nerik73)


    Hello,

    thank you for your wonderful plugin anyway.

    I’m having an issue on this website: https://skycloudsacademy.com. I’m using Divi theme.

    When “Guest optimization” is OFF, everything is fine on the front-end (but experiencing such a lower GPI score, around 80/100 on mobile).

    When I switch “Guest optimization” to ON, then GPI score turns to 99/100 BUT I’m experiencing front-end issues (some elements are not shown anymore) and I can see JS Error in browser’s console.

    Please note that the file mentioned in JS console error (scripts.min.js) is one of the files that I’ve set as “exclusion” in “Tuning[8]” tab of “Page Optimization” section about both “Guest Mode JS Excludes” and standard “JS Excludes”.

    Here you can find some screenshots about the issue (tests with “Guest optimization” OFF & ON so you can see the difference).

    https://ibb.co/VLFKXrq
    https://ibb.co/ygzmSzm
    https://ibb.co/JnyK1k7
    https://ibb.co/bWkwfg6
    https://ibb.co/C0Dvvtw

    Report number is: EZNJSGHO

    Please let me know how I can solve this issue because I’d defenetely love to keep “Guest optimization” ON but without the JS error obviously.

    The website is still under construction but it’s published yet obviously and “Guest optimization” is still ON so you can see the issue directly on your side.

    Looking forward to hear from you, I don’t know what to do otherwise. Thank you!

    Best regards.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is another Javascript file which is causing this error, even though it points you to scripts.min.js that’s only because it depends on this scripts file.

    What you’re actually looking for is the Javascript file which uses the function called et_pb_custom and you could try finding this by either:

    Downloading a zip of your entire plug-ins folder, and then searching that zip file for the ‘string’ “et_pb_custom”

    Or, using chrome developer tools, Network request blocking feature, you selectively disable each Javascript file one by one & keep refreshing until you see a similar outcome (the misconfiguration you pointed out in your screenshots) and work your way from there.

    Once you know which js file uses et_pb_custom, you’ll add it to the list of exclusions together with scripts.min.js and it should work for you. ??

    • This reply was modified 1 year, 8 months ago by seanbremner.
    Thread Starter nerik73

    (@nerik73)

    Hi, thank you very much for your reply.

    Yes…this sounds right to me, but I still don’t understand.

    As you can see here:

    https://ibb.co/rwrmTBN

    if I browse the before-optimization page version at:

    https://skycloudsacademy.com/?LSCWP_CTRL=before_optm

    the 7 javascript loaded with the page are all already present in the exclusion list.

    So, how is possible that the error is still getting triggered?

    I’ve also tried to block all the JS except “script.min.js” from the dev console but I can’t replicate the issue (obviously I get errors when I block jquery and/or jquery migrate but these are different errors).

    I’ve seen this inline JS inside the HTML code of the page.

    https://ibb.co/XjNRL7t

    Could be this the trigger of the problem? If yes, how could I solve/workaround it?

    Thank you in advance for your support!

    Plugin Support qtwrk

    (@qtwrk)

    you can add a piece of inline JS to JS exclude list and/or Defer JS exclude list to exclude that inline JS

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Guest optimization ON – Problem’ is closed to new replies.