Skip Navigation

[Résolu] Cant add new field.

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Cant add new field to post field group

Solution:
User has large number of custom fields added to post field group. In such cases, please increase value of PHP setting for max_input_vars to 5000.

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/cant-add-new-field/#post-624953

Relevant Documentation:
=> http://stackoverflow.com/questions/10303714/php-max-input-vars

This support ticket is created Il y a 6 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Marqué : 

Ce sujet contient 11 réponses, a 2 voix.

Dernière mise à jour par jose-manuelR Il y a 6 années et 8 mois.

Assisté par: Minesh.

Auteur
Publications
#624743

I'm trying to add a new field inside Post Field Group. But when I click on "save field group" button... nothing happens.

However, when I look at the section: "Post Field Control", I can see the field that I created. And the funny thing is that the assignment to field groups has disappeared

Please, make the next post private to give you the access

#624828

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - this is strange issue and no user reported yet.

Would you mind to follow few basic debug steps:
1)
Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?

2)
- Could you please activate WP_DEBUG from wp-config.php file and send me possible errors for review.
- Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

3)
If #1 and #2 does not help:

- Could you please share with which post field group you are facing the issue?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#624866

this post is not private...

I delete information

#624884

Hi Sr.

You forget to set the next reply to private

#624889

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

- Could you please share with which post field group you are facing the issue?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#624953

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

🙂 - there is no surprise that you cant add more fields to your post group now as I see you've added around 300-500 custom fields.

Could you please increase value of PHP setting for max_input_vars to 5000 and memory_limit to 500M.

More info:
http://stackoverflow.com/questions/10303714/php-max-input-vars

If you do not know how to do it, Please contact your server admin to update above setting.

#625006

Hello again Sr.

Well, we do not have timeout problems or other similar things.

Anyway, I've done what you've told me and it does not work either

Now you can try ... and it does not work either. I have deleted almost all fields and there are now only 86 fields.
It does not work either.

Even so we have another site on the same server with many fields. This other site is more complicated and everything works ok

#625105

we have changed max_input_vars to a very high value and now it works. However it is quite rare since we have another site with more fields and it works without problems ...

It's a bit strange, really.

We will continue looking and if we find something that can help we will let you know

Thank you so much Sr. for your help
We appreciate the support

#625251

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Glad to know that now it works by updating the max_input_vars to really high value.

Feel free to open a new ticket with your each new question. Happy to help 🙂

#626878

I forgot to tell you that it is also necessary to increase the value of: max_allowed_packet

Sometimes it's not enough just by modifying max_input_vars

#626881

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Thank for sharing that hint. I will keep this in mind as a future reference. Thanks.

Could you please kindly mark this ticket resolved.

#626883

Sure Sr

Thanks!