Skip Navigation

[Resolved] Adding New Custom Fields causes previously created fields to be deleted.

This support ticket is created 4 years, 3 months ago. 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.

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 4 replies, has 3 voices.

Last updated by webadmins 4 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1794699

I am trying to: Add new custom fields

Link to a page where the issue can be seen: hidden link

I expected to see: New Fields Created to be used.

Instead, I got: A large bulk of our custom fields are deleted. I'm able to add them back by exporting our types fields from our production site but im not able to create new fields without potentially deleting a bulk of existing fields.

#1795253

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

One of the team will get to this as soon as possible, but in the meantime can you clarify the problem.

Are you saying that the settings for custom fields are lost when you add new custom fields to some group (or create a new group and add fields to it), or are you saying that the data itself is lost? That the custom fields are still assigned to a field group belonging to some post type, but when you edit posts the values of the fields have been lost?

What are the specific steps to see the issue?

In any case, we'll almost certainly need a copy of your site to see what is happening, if you could please prepare a package as described in the documentation which you can share via dropbox or similar here.

hidden link

#1804865

Hey Nigel --

To be precise, yes. When creating a new custom field and saving it, a large amount of previously created custom fields would be deleted. All of the custom fields belong to a specifc post type, and adding a new custom field to that post type would cause a bulk of those fields to be lost.

#1805217

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

We apologies for the late response here as this ticket was assigned to another supporter who was on vacation.

Can you please try to update the WordPress version on your install to latest official version:
=> https://toolset.com/toolset-requirements/

In addition to that:
Could you please increase value of php.ini setting for "max_input_vars" to 5000 and try to resolve your issue.
=> http://stackoverflow.com/questions/10303714/php-max-input-vars
-- Please contact your server admin to update above setting.

#1818141

Hey Minesh --

We have a WP upgrade scheduled for this week. Once its performed, I will provide you with an update.