Note that there are some explanatory texts on larger screens.

plurals
  1. POmax_input_vars and ACF
    primarykey
    data
    text
    <p>for a client I have to fix a problem. At the moment he can’t save more than 66 fields in an ACF-Group. I was researching a bit and found out, that one possible problem could be, that the max_input_vars in the php.ini is too low, so PHP rejects the POST-Values after 1.000 fields. I was checking and indeed the Form was sending more than 1.000 fields.</p> <p>I first tried the .htaccess-Solution as described e.g. here:</p> <p><a href="http://support.advancedcustomfields.com/forums/topic/repeater-field-values-disappearing/" rel="nofollow">http://support.advancedcustomfields.com/forums/topic/repeater-field-values-disappearing/</a></p> <p>But, this produced an Error 500 because the machine is (as I found out) running as FastCGI. For people with this problem, check the possibilty of the user.ini:</p> <p><a href="http://php.net/manual/de/configuration.file.per-user.php" rel="nofollow">http://php.net/manual/de/configuration.file.per-user.php</a></p> <p>So I translated the .htaccess to the .user.ini and uploaded this file.</p> <p><code>max_input_vars = 5000</code></p> <p><code>max_input_time = 300</code></p> <p><code>max_input_nesting_level = 128</code></p> <p><code>max_execution_time = 300</code></p> <p><code>post_max_size = 32M</code></p> <p><code>&lt;?php phpinfo(); ?&gt;</code> displays set the new values are set as local values for PHP now.</p> <p>But unfortunatly still, after uploading and everything, I am not able to save more than these 66 fields. Now, I have no further idea, what to do. Does anyone has an suggesstion?</p> <p>Thanks a lot!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload