max_input_vars and custom fields
-
HI,
I have a slight issue with the WordPress custom fields in that they dont seem to be saving.
I have used a plugin for some, which are saving fine. But i have added 2 using the built in wordpress custom fields. I did this to create some repeating fields.
I have 2 that i have added in this way. Accreditation and Projects. The accreditation’s save no problem, but if i add the second one and try to publish the post it adds the field, but i cannot select the field from the drop down menu in the post editor (make sense?) It is as though it adds the field, but hides it away or doesnt save it.
I found an article that suggested changing the value of the max_input_vars from 1000 to a higher number which i set to 3000 but this hasn’t remedied the issue.
The fields are being added to a custom post type of ‘people’ which works and if i attempt this on my localhost server everything works which makes me think it is my server setup. After changing the input_vars though i’m not sure what else to try.
Most of the topics i find are to do with the ACF plugin, which i am using but i have not paid for the premium version. which is why i am trying to use wordpress custom fields in conjunction. i need to repeat the accrediations and projects for each person as there could be multiple values.
If it is not the max_input_vars then what else could it be? does anybody have an idea as to what else could cause it?
thanks
Phil
- The topic ‘max_input_vars and custom fields’ is closed to new replies.