• The plugin loads calls to jQuery inline within the body wherever the form is to appear. Problem with this is that often WordPress loads jQuery in the bottom of the body. So this throws an error because when the plugin’s code shows up, jQuery has yet to be defined.

    This can be fixed in content-protector/screens/access_form.php (line 41) by enqueuing that script in the footer and make it dependant on ‘jquery’.

    https://ww.wp.xz.cn/plugins/content-protector/

The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.