Home Forums Plugin Support WP User Frontend Pro Registration Form doesn't work > Undifined when submit

This topic is: resolved

This topic contains 14 replies, has 2 voices, and was last updated by  Tareq Hasan 5 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #9746

    Bauwens
    Participant
    Post count: 15

    Hi guys,

    I have a problem with my registration form. When I want to submit a registration I got the error “undefined”.

    Any idea?

    Thanks,

    Jhon

    #9747

    Tareq Hasan
    Keymaster
    Post count: 2831

    May be some plugin is generating some unwanted output and it's messing with the JSON ajax response.

    Can you please provide your site url, user login and password so we can check it. Also mark your reply as Private reply to keep it safe.

    #9748

    Bauwens
    Participant
    Post count: 15
    This reply has been marked as private.
    #9750

    Tareq Hasan
    Keymaster
    Post count: 2831

    I guess you forgot the site url.

    #9751

    Bauwens
    Participant
    Post count: 15
    This reply has been marked as private.
    #9752

    Tareq Hasan
    Keymaster
    Post count: 2831

    The register form is somehow being blocked and it's getting no ajax
    response it should. I don't suspect it's some plugin, but might be the
    theme. Is it custom made? Can you check it perhaps?

    #9754

    Bauwens
    Participant
    Post count: 15
    This reply has been marked as private.
    #9755

    Tareq Hasan
    Keymaster
    Post count: 2831

    I believe the error is coming from your themes functions.php and the
    function name is *pu_blank_login*, please consult with your developer.

    #9757

    Bauwens
    Participant
    Post count: 15

    i'm the developper, let me look at this !

    #9758

    Bauwens
    Participant
    Post count: 15

    just tried to remove the fonction. Does not work !

    #9759

    Bauwens
    Participant
    Post count: 15

    Any idea?

    #9760

    Bauwens
    Participant
    Post count: 15

    Got the problem. It's here:

    function restrict_admin()
    {
    if ( ! current_user_can( ‘manage_options' ) ) {
    wp_redirect( site_url() );
    }
    }
    add_action( ‘admin_init', ‘restrict_admin', 1 );

    How to restrict admin in an other way?

    Thanks a lot !

    #9762

    Tareq Hasan
    Keymaster
    Post count: 2831

    WPUF has a restriction functionality in it's settings and you can block users by role. Check it in the plugin settings.

    #9764

    Bauwens
    Participant
    Post count: 15

    Great thanks !

    And another question: Select the page where [wpuf_edit] is located

    What's that page? Who can access? I don't know which page to choose!

    Cheers

    #9765

    Tareq Hasan
    Keymaster
    Post count: 2831

    Take a look at the setting up video, that pretty much explains it.

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

The topic ‘Registration Form doesn't work > Undifined when submit’ is closed to new replies.