Skip Navigation

[Gelöst] When trying to publish a CPT it fails – where to see a hint for the failure?

This support ticket is created vor 2 Jahren, 7 Monaten. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 4 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von Martin vor 2 Jahren, 6 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#2364743

Hi,

I have a custom post type, worked so far. But "suddenly" I sometimes cannot publish a new post pf the CPT anymore. While trying his error gets thrown:

Validation failed. Please, provide correct values for all fields.

I assume some validation might fail. But as I am not aware (and cannot find out - or see) which - is there any option to see more information on this failure?

Kind regards,
Martin

#2364979

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

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

Hi Martin

Is this on the back end or the front end?

Have you done something like made required fields with validation and then made them appear conditionally, and at the time you are publishing the post the fields are hidden?

(We've had some problems with the logic of this in recent versions of Types. Which version of Types are you using?)

#2365431

Hi Nigel,

I also assume that it might be something about mandatory fields I might have deleted but some
weird casing might have stayed in place or so…

But as far as I see, this is not the case, at least directly. My CPT has three relations to 3 other CPTs (events to 1) companies, 2) venues, 3) fairs). All of them contain CFs. But all quite straight.

In one CF group I altered the appearance of two fields, but they have no dependencies or so… this is the only thing I remember to have altered…

From this we cannot solve the quest 🙂 therefore my question if there is any error catch that could tell more?

#2365685

Hello,

Please try these:
1) deactivate all other plugins, and switch to WordPress default theme 2022, and test again
2) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, also point out the problem page/post URL , I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2365757

Hi, thanks for offering to look into the site. But currently this is not an option (GDPR issues). I just hoped that there is a kind of debug mode that would help to identify what throws the error...