Support

Account

Home Forums ACF PRO Users fields not saving

Solving

Users fields not saving

  • Hi,

    My last post is not viewed by acf team anymore… so I’m reposting.

    My users are not able to save their information because the form won’t save (but submit). The acf header function is the first one in my template page.

    Anyone know what can cause this issue ?

  • code from your original question. Is this exactly the code in your template?

    
    acf_form_head();
    $options = array(
    							'post_id' => 'user_'.get_current_user_ID(), // $user_profile,
    							'field_groups' => array(115),
    							'submit_value' => 'Enregistrer',
    							'updated_message' => __("Profil mis à jour", 'acf'),
    						);				
    
    						acf_form( $options );
    
  • This is all my template file :

    <?php
    acf_form_head();
    get_header();
    $author = wp_get_current_user();
    $author_id = get_current_user_ID();
    ?>

    <?php
    $options = array(
    ‘post_id’ => ‘user_’.get_current_user_ID(), // $user_profile,
    ‘field_groups’ => array(115),
    ‘submit_value’ => ‘Enregistrer’,
    ‘updated_message’ => __(“Profil mis à jour”, ‘acf’),
    );

    acf_form( $options );
    ?>

    <?php
    get_footer();
    ?>

    As you can see there’s nothing wrong with this template file.

  • I don’t see anything wrong with it and it should be working.

    Does your theme include both template tags wp_head() and wp_footer()?

    Have you checked to see if there is anything interfering with ACFs operation? Disable other plugins and switch to a basic theme to see if you can clear up the problem that way?

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

The topic ‘Users fields not saving’ is closed to new replies.