Support

Account

Home Forums ACF PRO Values cannot be saved no matter what I do Reply To: Values cannot be saved no matter what I do

  • The first thing I would do is to see if the data is actually getting to the server. Why, because I haven’t a clue where to start so I would start at the beginning.

    I would open up the file /wp-admin/post.php and at the top of the file I would add

    
    // this if will make sure this is only run for you
    // change the user ID value to yours
    if (get_current_user_id() == 1) {
      // see what's in $_POST if it's not empty
      if (!empty($_POST['acf'])) {
        echo '<pre>'; print_r($_POST['acf']); die;
      }
    }
    

    The above should print out what is being sent to ACF and halt execution. Then I would compare what is there with what should be there to see if the fields in questions are submitted.