Skip Navigation

[Resolved] Cannot update or add new custom type – doesn't save entries to the custom fields

This support ticket is created 6 years, 2 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 2 replies, has 2 voices.

Last updated by chrisK-10 6 years, 2 months ago.

Assisted by: Christian Cox.

Author
Posts
#1159735

I am trying to: Update or add new custom types but it wipes or reverts to what was there before on save

Link to a page where the issue can be seen: In back end

I expected to see: The new data input

Instead, I got: The old data shown or no data if a new post.

#1160007

Hi, can you try the following troubleshooting steps first?
- Temporarily deactivate all plugins except Types and activate the default Twenty Seventeen theme, then test again.
- If the problem was resolved, reactivate your theme and other plugins one by one until the problem returns
- If the problem was not resolved, activate server logs so we can see if there are any problems logged on the backend. If you're not familiar with server logs I can show you how to activate them temporarily. Go in your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

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

Then try to update a post in wp-admin. If any backend errors are generated, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php.

#1160055

My issue is resolved now. Thank you!