Gravity forms registration

Home Forums Legacy Support 4.0 Bugs & Issues Gravity forms registration

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #362393
    Kadous_263
    Participant
    I was using gravity forms as a registration form with buddypress integration to create new users and it was work fine. now after the last WPLMS update when any user tries to register and press submit button a fatal error message appeared to him!! fatal error: --- Fatal error: Uncaught Error: Cannot use object of type WP_User as array in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wplms_plugin/includes/vibe-shortcodes/shortcodes.php:4820 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(292): Vibe_Define_Shortcodes->activate_user() #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action() #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/gravityformsuserregistration/class-gf-user-registration.php(1939): do_action() #4 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(294): GF_User_Registration->do_buddypress_user_signup() #5 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action() #7 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/gravityformsuserregistration/cla in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/wplms_plugin/includes/vibe-shortcodes/shortcodes.php on line 4820 --- in backend, I found users who submitted the forms has been created successfully, and can login please advise about this error
    #362470
    Veronica
    Moderator
    hi for this we need to check this on your site so please provide site URL admin credentials and CPanel/FTP details
    #362560
    Kadous_263
    Participant
    This reply has been marked as private.
    #362627
    Veronica
    Moderator
    This reply has been marked as private.
    #362630
    Kadous_263
    Participant
    This reply has been marked as private.
    #362672
    Veronica
    Moderator
    hi please check now it will work
    #362711
    Kadous_263
    Participant
    This reply has been marked as private.
    #362722
    Veronica
    Moderator
    providing the changes in some time
    #362729
    Veronica
    Moderator
    hi please add this code: https://prnt.sc/16oq5px
    if(is_object($user)){
                $user = (array)$user;
      }
    in htdocs/wp-content/plugins/wplms_plugin/includes/vibe-shortcodes/shortcodes.php
    #365114
    Kadous_263
    Participant
    thanks, can you close this topic
    #365167
    Veronica
    Moderator
    thanks for your confirmation
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Gravity forms registration’ is closed to new replies.