Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_has_profile( 'profile_group_id=1' ) FALSE


  • carloscardenas.me
    Participant

    @carloscardenasme

    Hi everyone, first of all forgive my bad English.

    I have one problem with this site, http://www.companyculture.com.php53-8.dfw1-2.websitetestlink.com/ especifically in the registration code.
    At this line

    if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();

    The if ( bp_has_profile( ‘profile_group_id=1’ ) ) returns false, even when there is a profile group with the group_id=1.

    I don’t know why is this happening, the site uses a 2 step registration form, the first one for basic info and the second one that supposedly run through the profile fields and build the form.

    It was working before and my client says he didn’t do anything to cause the issue.

    If you want I can add the full file code and the jQuery function.

    Thanks for your help!

  • The topic ‘bp_has_profile( 'profile_group_id=1' ) FALSE’ is closed to new replies.
Skip to toolbar