• Resolved imharis

    (@imharis)


    The ditty news ticker is working perfectly when I am logged in, but it stops working on logging out or for any user

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Can you provide a URL for me to check out your site? It’s possible there is a javascript error happening on your site for non-logged in users.

    Thread Starter imharis

    (@imharis)

    https://xray-lab.com/
    please check and provide me the solution. Thanks.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    I’m seeing a few javascript errors relating to jQuery (screenshot: https://imgur.com/a/5pKB8Hk)

    Uncaught ReferenceError: jQuery is not defined
        at (index):2
    (index):67 Uncaught ReferenceError: jQuery is not defined
        at grvePrivacyCookieConsent ((index):67)
        at (index):67
    (index):85 Uncaught ReferenceError: jQuery is not defined
        at (index):85

    I’m not positive, but if I were to guess, this is probably due to autoptimize and javascript merging/compression. When you’re logged in, javascript is probably not compressed and not causing errors on the front end. I would try disabling autoptimize temporarily and see if that fixes the issue. If so, then you’ll need to play around with the javascript settings (combining, compression, etc..) and try and figure out what needs to be adjusted to stop these errors form happening. I don’t have much experience with autoptimize, so I don’t have any more suggestions than this.

    Check that out and let me know if it seems to be the case.

    the problem is jQuery is being deferred (not sure what plugin is doing that, but it’s not Autoptimize), make sure jQuery is not deferred and all should be well.

    Thread Starter imharis

    (@imharis)

    Thank You soo much both of you, I’ll try and inform you later.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ditty News Ticker’ is closed to new replies.