Skip Navigation

[Resolved] I can't add custom field

This support ticket is created 3 years, 6 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 14 replies, has 3 voices.

Last updated by annaA-2 3 years, 6 months ago.

Assisted by: Waqar.

Author
Posts
#2081277

Hi,
I'm trying to add a new custom field for a post type but I can't save it.
After saving the field disappeares.

While if I try to add a new field in a different post type it works.

What could be the problem?

Thanks for your help.

#2081311

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where I can see the issue as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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 have set the next reply to private which means only you and I have access to it.

#2081313

UPDATE:
Hi I noticed also some custom fields previously created disappeared too and the cred form reports some errors, but I can't add them because it said they already exsist. 🙁

What could be happened?

Thank you in advance.

#2081315

I can send you access, but how can I send you them in private?

#2081319

Minesh
Supporter

Languages: English (English )

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

Please share problem URL where I can see the issue and also tell me what fields are missing.

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

#2081323
Screenshot 2021-06-09 at 11.13.25.png

I dont' see private form 🙁

#2081343

Minesh
Supporter

Languages: English (English )

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

I'm not sure why you do not able to see the private fields.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) 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 have set the next reply to private which means only you and I have access to it.

#2081365

Minesh
Supporter

Languages: English (English )

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

It seems you forget to share the problem URL where I can see the issue and what fields are missing?

#2081375
Screenshot 2021-06-09 at 11.53.57.png
Screenshot 2021-06-09 at 11.53.51.png

The problem is in "Gruppo di campi per politico".
The url in which you can see the problem is:
hidden link

Thank you.

#2081471

Minesh
Supporter

Languages: English (English )

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

I could not able to connect to site. I get the following error: ERR_CONNECTION_TIMED_OUT

Can you please make sure I should be able to access the site without any issue.

#2081507

Before login as admin, you have to use the credentials I sent you in line Before to access...
I'm working on the website and it's working fine, but the folder is protected by a password.
Let me know if you can log in.
Thanks.

#2081527

Minesh
Supporter

Languages: English (English )

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

Yes - I've done that still I could not able to load the wp-admin or login page. It shows me the same error: ERR_CONNECTION_TIMED_OUT

Do you have any firewall or country wise blocking?

#2081545

Hi,
we haven't any limitations.
I don't understand why you can't see the website.
I tried t change some server settings.
Could you try now? Thanks.

#2081609

Hi,

Thank you for sharing the admin access.

As Minesh was having some difficulty in accessing your website's admin area, he has passed on this ticket to me.

I noticed that the "Gruppo di campi per politico" custom field group not only consists of a lot of custom fields, but some of those fields also have very long field names and slugs.

This means that whenever any change is made to this custom field group, a lot of information needs to be processed by the server in one go. We've seen some similar reports about this issue where increasing the server's "PHP max input variables" and "PHP post max size" values fixed this.

If you'll go to WP Admin -> Tools -> Site Health -> Info -> Server, you'll see that the current "PHP max input variables" value is 1000 and "PHP post max size" value is 8M. You can increase both these to higher values, for example, 4000 and 32M respectively.

But this is only a temporary fix and a more efficient and long term solution would be:

1. Making sure to keep short names and slugs in the fields in custom fields groups, and
2. And even if you need to store many custom fields with an individual post type, it is a good idea to distribute them in multiple custom field groups, instead of registering them all through a single custom field group.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2083113

My issue is resolved now. Thank you!