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?
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.