• Resolved mkornegay2

    (@mkornegay2)


    Age Gate has completely stopped working on my site. Now the restricted page just turns blurry. No pop up and it cannot be accessed any longer. I have cleared all cached, deleted the plugin and reinstalled and nothing. I need help please. Not sure why this happened all the sudden.

    focus.js:2 Uncaught Error: Your focus-trap must have at least one container with at least one tabbable node in it at all times
        at p (focus.js:2:7537)
        at Object.activate (focus.js:2:10356)
        at focus.js:2:12103
        at s (age-gate.js:2:67989)
        at e (age-gate.js:2:79538)
        at age-gate.js:2:80538
        at age-gate.js:2:80583
        at age-gate.js:2:80587

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @mkornegay2,

    THat’s odd. I’d go to Age Gate -> Advanced and disable the focus trap and see if that sorts it at least for now while I investigate further.

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Might also be some caching going on as a query string shows it fine:

    https://www.greenvilleplastic.com/dr-garrison-before-after-gallery/?v=123

    Thanks,
    Phil

    Thread Starter mkornegay2

    (@mkornegay2)

    Any update on this? I responded to the previous email and apparently it did not post my responses. I have turned off Focus Trap, no change. I have also excluded these pages from caching on my servers and purged all cache/cookies. I have also duplicated the page and left one gallery on the page and the page loads the Agegate popup, but will not load on the two pages it’s suppose to. I have tested removed and test every update from 2.21 and no change. So I’ve installed the latest version again. I’m really not sure what could be causing the error or the plugin not load. All CSS has also been removed.

    Plugin Author Phil

    (@philsbury)

    Hi @mkornegay2,

    Sorry for the delay, looking at the code on the page I know what’s happening, but not why.

    In the javascript template, something is changing the markup so everything is nested inside the loader. There’s actually no closing tags inside the template at all.

    I signed up for a cloudways server to see if it was something in the Breeze caching but didn’t seem to be. Have also run in divi without issues.

    Though it might have been the SVG load structure so tweaked it in the latest version and that doesn’t seem to have helped either.

    Do you have any other optimisation plugins running?

    Thanks
    Phil

    Plugin Author Phil

    (@philsbury)

    Hi again @mkornegay2,

    Bit more digging, looks like the issue was the lazyloading image option in the breeze settings. Why that’d break it I’m not sure.

    Fix applied in 3.0.11, and you should be able to re-enable the focus trap if you want to.

    Thanks
    Phil

    Thread Starter mkornegay2

    (@mkornegay2)

    Thanks! I appreciate it. Breeze seems to be applying updates right regularly and I did install your latest update. I actually got it working a bit sooner, but Trap Focus isn’t enabled yet. As far as optimisation beside Breeze, I just have Varnish Cache on the server and what Divi has natively. Of course I purged everything, but I know some Divi performance options have caused issues in the past.

    Thanks for digging in to this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Age Gate is no longer working’ is closed to new replies.