I am trying to insert a new "Priorità" (a custom post type child of CPT "Obiettivi strategici") through a Create Post Child Link in the content template " Template for Obiettivi strategici".
Link to a page where the issue can be seen:
hidden link
I correctly display the locked parent post in the child form, but, after saving, the parent value is not recorded.
Notice that till yesterday it worked. Moreover a similar linked CPT ("Azione"), child of CPT "Prioritàs", worked correctly.
Thank you for advice!
Moreno
In addiction, I've noticed that in back-end, if I try to connect the child CPT "Priorità" just created in front-end, to the parent CPT "Obiettivi strategici", I can't find in the dropbox the parent CPT that i've just connected in the front-end and that seems to be disappeared when saving.
Moreno
Hello,
The problem you mentioned above is abnormal, please check these:
1) In case it is a compatibility problem, deactivate all other plugins, and switch to WordPress default theme 2022, deactivate all custom PHP/JS code snippets, 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 URL and form URL, I need to test and debug it in my localhost, thanks
Hi Luo Yang,
it was a really trivial problem. The relationship between parent and child was set by default to a max of 10 child. Now I've changed and it works.
Maybe it should be helpful for the dummy like me to warn when saving that the maximum number of child allowed has been reached.
My issue is resolved now. Thank you!