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.
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.
My issue is resolved now. Thank you!