Title: Uncaught SyntaxError: Unexpected token &#8216;&amp;&amp;&#8217;
Last modified: October 14, 2019

---

# Uncaught SyntaxError: Unexpected token ‘&&’

 *  Resolved [Terry J](https://wordpress.org/support/users/texasbiz/)
 * (@texasbiz)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-22/)
 * Hello. I put off updating to your latest release for few weeks. Just updated 
   and now having issues with login.
 * Error in dev console: Uncaught SyntaxError: Unexpected token ‘&&’ line 318
 * Line 318: ` else if ( wpuser.login_redirect == null || && typeof( wpuser.login_redirect)!
   == “undefined” || wpuser.login_redirect.length === 0 ) {
    location.reload();`
 * How can I get a copy of V6.1 as 6.2 has my site not working. Not one can login.

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

 *  Plugin Author [Prashant Walke](https://wordpress.org/support/users/walkeprashant/)
 * (@walkeprashant)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-22/#post-12209659)
 * We have fixed issue in latest version i.e 6.2.1
    Please check and let us know
 *  Thread Starter [Terry J](https://wordpress.org/support/users/texasbiz/)
 * (@texasbiz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-22/#post-12210083)
 * Thanks but users could not wait nearly two months to login. Had to find another
   plugin solution.

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

The topic ‘Uncaught SyntaxError: Unexpected token ‘&&’’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-user_8e9b79.svg)
 * [WP User - Custom Registration Forms, Login and User Profile](https://wordpress.org/plugins/wp-user/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Terry J](https://wordpress.org/support/users/texasbiz/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-unexpected-token-22/#post-12210083)
 * Status: resolved