Skip Navigation

[Resolved] Troubleshooting with Edit Post Field Group

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.

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)

This topic contains 7 replies, has 1 voice.

Last updated by Minesh 1 month, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2811855
tool1.jpg
tool2.jpg
tool3.jpg
tool4.jpg
tool5.jpg

I have an Edit Post Field Group with a Select of "Case editrici".
If I make any changes to an existing "value", when I go to save the Select it deletes the values ​​from the letter "R" onwards and therefore I lose the values ​​of the select and the functionality of the site.
I attach the screenshots to highlight the problem. The plugins and the site are updated

#2811880

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you have a custom select field with many options and you do have a existing posts where the select option is set.

Now, for instance, you have select field setup with the following option-text|value:
- [aaa|aaa,bbb|bbb,ccc|ccc]

Now, you do have a posts where you have optoin "aaa" and "bbb" is selected.

what you are doing is you edit the value of option with option-text "aaa" and change it's value to "AAA" and save and what you experince is the exising post where option "aaa" is setup is lost - is tht correct? if yes:

That is working as expected because before you have setup option value as "aaa" and with existing post the value stored as "aaa" and now you change the option value to "AAA" but for the existing post the option value stored as "aaa" and you will require to resave it then and then it will store the option "AAA".

Please let me know if this is the case.

#2811881
tool6.jpg

Hi Minesh, thanks for the quick reply.
No, this is not the case, I try to change a value but before saving it I bring it back to the original, just to test the saving of the select and when I go to save it the select is corrupted in any case.
That is, any change, addition, removal of values ​​at the time of saving the select does not present all the values ​​before saving. Furthermore, all the custom post fields that follow the select lose the association with the Custom Post Type.

#2811887

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

This may happen when you reach the defined server limit for PHP configuration "max_input_vars".

Could you please increase value for "max_input_vars" to 3000 or 5000 from php.ini setting and try to resolve your issue.

Please check the following Doc:
=> http://stackoverflow.com/questions/10303714/php-max-input-vars
-- Please contact your server admin to update the above setting if you do not know how to do it.

#2811889

it was already at 8000

#2811892

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Based on the debug information you shared, I can see "MaxInputVars" is set to 1000.

If you confirm that MaxInputVars is already set to 8000 then I doubt there could be a possibble conflcit.

In order to minimize the cause of the issue and to ensure there is no conflict with the plugin(s)/theme you use:

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?
- Do you see any difference?

#2811909
tool7.jpg

setting max_input_vars to 18000 seems to work...

#2811915

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great and glad that at lease we were trying to fix the issue in the right direction.