• Resolved germanero

    (@germanero)


    When you are already registered in, at the first login with “login with ajax”, I recieve this message: “An error has occured. Please try again. When try again”, then, I can login.
    Just first time login error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is this with or without the custom code you mentioned in your other post running?

    Thread Starter germanero

    (@germanero)

    It’s without any custom code, the other post it’s different. And this happens just at first login after register. When I try again, it let me login all time again, the problem is just firt time login. The only plugin I’m using to customize registry is Profile Builder, But I tried deactivating it, and still the problem.
    Regards.

    It’s possible this is a conflict caused by your theme To check if it is, can you test while running the default WordPress theme?

    Thread Starter germanero

    (@germanero)

    It works! the error it’s gone when changing this:

    add_filter('login_redirect', 'LoginWithAjax::loginRedirect', 1, 3);
    to this
    add_filter('login_redirect', 'LoginWithAjax::loginRedirect', 10, 3);

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error at first login’ is closed to new replies.