Skip Navigation

[Resolved] Multiple instances of single line field

This support ticket is created 6 years, 5 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 6 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#911813
toolset-multi-bug.gif

Hey
I set a single line field in a field group for a CPT to accept multiple values. I'm trying to add several values to the field by clicking the "Add New" button in the post editing page. It lets me add the value, but when I click update, it only saves the last entered value.
It's a local installed site so I can't give you direct access. I'm attaching a gif that might help me illustrate the issue.

Any ideas as to why this is happening?

#911893

Hi, can you try these troubleshooting steps first?
- Make sure your Toolset Types plugin is up-to-date. Version 3.0.1 is now available at https://toolset.com/account/downloads. Some users are experiencing problems with automatic updates, so a manual plugin update may be required.
- Temporarily deactivate all other plugins except Types, and activate a default theme like Twenty Seventeen. Then test the repeating field again.
- If the problem is resolved, reactivate your parent theme, then child theme, then other plugins, one by one until the conflict is revealed.
- Bump up your localhost's setting for MaxInputVars - 1000 is a bit low and I would consider 5000 if possible.
- Turn on WP_DEBUG if it's not already on, and check the server logs for any obvious error messages when submitting the post edits.

define('WP_DEBUG', true);
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Let me know what you find out and we can go from there.