Logging in - "Something went wrong. Try again later."

As of the other day, no members are able to log into the site I’ve made (just about to launch…), giving the Titled message. I’ve NO idea why this is the case. It’s recognising a valid user as if the email/password is wrong though as it says “Wrong password or email” instead. Coincedently, when updating site members’ details within the Dashboard now, it changes within the “Edit Contact” screen (First Name, Last Name, email, etc.) but not in the Member List page, nor in the database on the WixEditor side.

Does anyone know what might be the cause to this? Did one of my friends trip something they shouldn’t have & it’s an easy fix? Or is this something more dastardly?

Have you actually used code on your site as it sounds like you haven’t, so therefore you would be better suited going through Wix Support for more help on this issue.
https://support.wix.com/en/article/contacting-wix-support

If you have used code, then please elaborate more and post the code that you have used along with screenshots for example.

Looks like I’ll need to get in touch with support.

I did input some code, but merely to logout - of which I had entered weeks prior, with no complications; as follows:

import wixUsers from 'wix-users';
import wixData from 'wix-data';
import wixLocation from 'wix-location';

$w.onReady( () => {
 if(wixUsers.currentUser.loggedIn) {
    $w("#loginButton").label = "Logout";
  }
 else {
    $w("#loginButton").label = "Login";
  }
} );

export function loginButton_click(event) { 
 // user is logged in
 if(wixUsers.currentUser.loggedIn) {
 // log the user out
    wixUsers.logout()
      .then( () => {
 // update buttons accordingly
        $w("#loginButton").label = "Login";
    } );
  }
 // user is logged out
 else {
 let userId;
 let userEmail;
 
 // prompt the user to log in 
    wixUsers.promptLogin( {"mode": "login"} )
      .then( (user) => {
        userId = user.id;
 return user.getEmail();
      } )
      .then( (email) => {
 // check if there is an item for the user in the collection
        userEmail = email;
 return wixData.query("Profile")
          .eq("_id", userId)
          .find();
      } )
      .then( (results) => {
 // if an item for the user is not found
 if (results.items.length === 0) {
 // create an item
 const toInsert = {
 "_id": userId,
 "email": userEmail
          };
 // add the item to the collection
          wixData.insert("Profile", toInsert)
            .catch( (err) => {
              console.log(err);
            } );
        }
 // update buttons accordingly
        $w("#loginButton").label = "Logout";
      } )
      .catch( (err) => {
        console.log(err);
      } );
  }
}



That code isn’t merely to log in and logout, that code is for a members own profile page for which the tutorial is here.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area

For this tutorial to work properly you need to have made yourself two dynamic pages as stated in the tutorial as the first page will be read only and the second page will be read and write.

The first page is to show the user their own member profile which you can do as well as using the Wix Members app already.

The first time that the site member will view this page after they have logged into your site, then it will only show what you have captured so far from your signup page.

So, if you have simply used Wix default or custom signup form then that will only must likely be email and first and last name etc, whilst the password will not be shown as it will be saved in the WIx CRM only.

If you make up your own lightboxes for signup and login and use them instead after setting your member signup settings to Corvid, then you can capture what ever you want to on your signup form and then it will be displayed on the first read only dynamic page for the site member.

The second page which is read and write, is where the site member can go to add additional data or change something on the existing data etc, with all this being saved into the Members dataset that you create with this tutorial.

If you use this with your own lightboxes then you are needing to not use the Wix Login bar, so that the only way the user can log in and out is through your members page.

Note that the Wix Login Bar is a closed shop and you can’t do anything with it through code, it is a feature of the Wix Members app that you can’t edit, just like the Wix Members app collection called Members/PrivateMembersData tat gets added automatically when you use the Wix Members app.

I have used this tutorial as starting point for a members only page, so you can change the tutorial to whatever suits your needs.

If you want to get started with your own lightboxes, then simply see Nayeli (Code Queen) great tutorials about it linked below to get you started.

Signup
https://www.totallycodable.com/wix/corvid/custom-registration-for-site-login-using-wix-code
https://www.youtube.com/watch?v=QbH8_eudjbE&feature=player_embedded

Login
https://www.totallycodable.com/wix/corvid/create-custom-log-in-sign-on-screen-using-wix-code

Change Member Signup settings to Corvid
https://support.wix.com/en/article/corvid-enabling-custom-site-registration