Make sure that your WP site allows registration. However, the majority of it was due to how and when jQuery is loaded. We highly suggest checking your caching plugin’s setting.
For instance, you are using SiteGround Optimizer, from your website dashboard navigate to SiteGround Optimizer > Frontend > JavaScript, and disabled Defer Render-blocking JavaScript.