Skip Navigation

[Closed] After working on a custom post type for a while, our edits stop saving. W

This support ticket is created 3 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 2 years, 12 months ago.

Assisted by: Nigel.

Author
Posts
#2281215

I am trying to: make edits to a post (custom post type)

Link to a page where the issue can be seen: hidden link

I expected to see: edits to the text will not save

Instead, I got: the old text reloads - edits don't save

#2281461

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Before going any further, please check for errors when attempting to save updates to the post.

Check the browser console for JS errors while editing the page with the View that you cannot update, and also check the debug.log for PHP errors.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try editing the same page again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

Let us know what you find so we can see how to proceed.

#2281899

I turned on debug mode. Also noticed that if I edit the Yoast SEO content on a custom post, that WILL save every time, but the edits to custom fields do not. They save sometimes. Maybe one field will save, but another will not. If you keep making the change, it might eventually save, but sometimes it takes 5+ attempts.

#2298831

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry Keith, there was a glitch in our system and this thread has been lost in no-man's land until now.

You turned on debug mode, but did you find any errors? (Either in your browser console, or in the debug.log you have enabled to log PHP errors.)

The topic ‘[Closed] After working on a custom post type for a while, our edits stop saving. W’ is closed to new replies.