• After much testing, I’ve realized that Age Gate is causing a conflict with our All in One Event Calendar. We use Agenda View for the calendar, and when Age Gate is set to Bypass Cache then the page throws this error (shown below) in Google Console and the expand/collapse functions fail to work. That severally limits the usability of the Agenda view layout. This has been checked with all other plugins deactivated. As soon as the Age Gate plugin is set to Standard mode, the error disappears in the console and the calendar operates normally. The problem is using the Standard setting, with or without caching turned on, causes the verification loop. I see that V2 is just around and hope this gets fixed there, but any advice would be appreciated. Thanks.

    jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.
    ?ai1ec_render_js=cal…true&ver=2.5.28:468 Uncaught TypeError: Cannot read property ‘extendFunction’ of undefined
    at ?ai1ec_render_js=cal…true&ver=2.5.28:468
    at Object.execCb (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at n.check (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at n.enable (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at Object.enable (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at n.<anonymous> (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    at each (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at n.enable (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    at Object.enable (?ai1ec_render_js=cal…e=true&ver=2.5.28:7)
    (anonymous) @ ?ai1ec_render_js=cal…true&ver=2.5.28:468
    execCb @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    check @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    each @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    each @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    each @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    each @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    enable @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    init @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7
    (anonymous) @ ?ai1ec_render_js=cal…e=true&ver=2.5.28:7

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

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @scco75,

    I’ve just downloaded the calendar. I think what’s causing the issue is both Age Gate and the calendar use TwigJS to render, but they are on pretty different versions with Age Gate using 0.10.x and All in one calendar using 0.7.2.

    You can try and dequeue or deregister the age gate version of the script, something like:

    wp_dequeue_script('age-gate-twig');

    It may fix the issue as there’s nothing in the Age Gate templates that are particularly fancy.

    As you mention, I am working on a V2 (though some client work has gotten in the way a bit). The plan is that V2 won’t be using Twig, so that will rectify that, I just need to get it finished.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘Age Gate and All in One Event Calendar Conflict’ is closed to new replies.