Title: Age Gate does not function
Last modified: December 9, 2020

---

# Age Gate does not function

 *  Resolved [vosgiengmt](https://wordpress.org/support/users/vosgiengmt/)
 * (@vosgiengmt)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/age-gate-does-not-function/)
 * The Age Gate does not function—content appears without challenge. Settings are“
   All Content”. “JavaScript mode has been enabled by default as WP_CACHE is set
   to true.” Using “Admin Ajax”.
 * Server side cache has been cleared multiple times (using WPEngine). Browser cache
   and cache-busting URL ([https://zingzang.com/?_=1](https://zingzang.com/?_=1))
   does nothing. Plugin was working about a month ago but at some point stopped 
   working after plugin upgrade or WordPress upgrade.
 * Client is furious Age Gate is no longer functioning. Please help. Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fage-gate-does-not-function%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/age-gate-does-not-function/#post-13765944)
 * Hi [@vosgiengmt](https://wordpress.org/support/users/vosgiengmt/),
 * The Age Gate javascript file is not present on your site. It is still enqueued
   by the plugin so there must be something dequeuing it or it’s dependencies (jQuery
   doesn’t seem present either and that is currently required).
 * You should check neither have been dequeued in your theme or another plugin.
 * Thanks
    Phil
 *  Thread Starter [vosgiengmt](https://wordpress.org/support/users/vosgiengmt/)
 * (@vosgiengmt)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/age-gate-does-not-function/#post-13766002)
 * Removing a jQuery dequeuing script fixed the issue. Thank you for your quick 
   response and help.
 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/age-gate-does-not-function/#post-13766059)
 * [@vosgiengmt](https://wordpress.org/support/users/vosgiengmt/) – perfect!
 * Just for future reference, Age Gate 3 bins jQuery as a dependency so you should
   be able to reinstate it once they new version drops 🙂 (hopefully soon!)
 * Cheers,
    Phil

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

The topic ‘Age Gate does not function’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Phil](https://wordpress.org/support/users/philsbury/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/age-gate-does-not-function/#post-13766059)
 * Status: resolved