Title: users cannot login
Last modified: January 6, 2020

---

# users cannot login

 *  [stillewateren](https://wordpress.org/support/users/stillewateren/)
 * (@stillewateren)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/users-cannot-login-2/)
 * I have a problem with a website where users buy a course and get access to certain
   pages. I work with Elementor and the theme Astra. When I try to login as a user
   with access to the page, I get the error ‘Undefined’ and in the inspector I see
   this:
 * _Failed to load resource: the server responded with a status of 400 (Bad Request)
   /
   wp-json/aam/v2/authenticate
 * and
 * _Uncaught TypeError: Cannot read property ‘querySelector’ of null
    at cbpHorizontalSlideOutMenu.\
   _init (frontend.min.js?ver=1.1.6:408) at new cbpHorizontalSlideOutMenu (frontend.
   min.js?ver=1.1.6:398) at frontend.min.js?ver=1.1.6:499 at frontend.min.js?ver
   =1.1.6:501 at frontend.min.js?ver=1.1.6:503
 * What is going on?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusers-cannot-login-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘users cannot login’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)

 * 0 replies
 * 1 participant
 * Last reply from: [stillewateren](https://wordpress.org/support/users/stillewateren/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/users-cannot-login-2/)
 * Status: not resolved