error when registering

This topic contains 9 replies, has 4 voices, and was last updated by  Gianluca Mirizio 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3743

    Gianluca Mirizio
    Free User
    Post count: 61

    Hi there!,
    Using userwp plugin as request for your plugin.
    When I try to register I get this error (see attached), everything works, the user registers and the account works but there is the error.
    I can i do to fix?
    Thanks.
    Gianluca

    #3747

    Paolo
    Site Admin
    Post count: 31206

    A developer has been alerted, please provide credentials and we’ll check your site directly.

    Thanks

    #3751

    Gianluca Mirizio
    Free User
    Post count: 61
    This reply has been marked as private.
    #3752

    Gianluca Mirizio
    Free User
    Post count: 61
    This reply has been marked as private.
    #3754

    Patrik
    Moderator
    Post count: 1971

    Hi,

    This error generally displayed when wp_mail() function returns nothing or false. The user will be created successfully but the mail may or may not be sent. Can you check if you get the email successfully or not? We are going to remove this check in the next release of the plugin.

    Regards,
    Patrik

    #3755

    Gianluca Mirizio
    Free User
    Post count: 61

    Yes i get the email cerrectly.
    But how can i fix the problem by now?
    G

    #3756

    Patrik
    Moderator
    Post count: 1971

    Hi,

    To fix this, you need to make a change in core files which will be overridden in the next update. Go to line no. 172 of file class-emails.php located in userswp->includes folder and change

    return false;

    to

    return true;

    https://github.com/UsersWP/userswp/blob/f65f6a7eb979cb125387d24bdfb6442617ae3544/includes/class-emails.php#L172

    Regards,
    Patrik

    #3859

    news
    Free User
    Post count: 1

    hm

    #3860

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #3861

    Gianluca Mirizio
    Free User
    Post count: 61

    Yes fixed now. Many thanks.
    G

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket