PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Not registering user after Gravity Forms v1.6.4.5 Released

  1. Hi.
    I just updated to latest version of Gravity Forms and now it will not register new users on my site.

    I had a look in some of the code and it seems something goes wrong here in userregistration.php:

    // Hook into Gravity Forms
        public static function gf_create_user($entry, $form, $fulfilled = false) {
    
            // if the entry is marked as spam
            if(rgar($entry, 'status') == 'spam')
                return;
    
            $config = self::get_config($form['id']);
            $meta = rgar($config, 'meta');
    
            // if there is no registration feed or the registration condition is not met or the feed is not active, abandon ship
            if(!$config || !self::registration_condition_met($form, $config, $entry) || !$config['is_active'])
                return;

    The last return here is stopping and the ship is abandoned.
    I found out about this because I am hooking into this action gform_user_registered, which is not being called anymore.

    Is it just me or is anyone else having this problem?

    Posted 11 years ago on Thursday June 7, 2012 | Permalink
  2. Hi.

    Okay, so I found the reason for this. It is because I have a form where you have to tick a checkbox to accept term before you can register. I had placed some HTML in the checkbox choice label/key. I guess the gravityformsregistration ad-on has trouble with this.

    You can see what I mean here:
    https://skitch.com/vayu/89x1n/untitled-1-100-betingelser-rgb-8

    Cordially
    Vayu

    Posted 11 years ago on Friday June 8, 2012 | Permalink