I have created a custom post type creation form, but the form, upon submission, is not generating a new post. I have set the form to display the post just created, and I get an error that no such post exists. I can confirm this in the dashboard.
The upload page is public (for testing purposes at the moment) at hidden link.
Hello,
The problem you mentioned above is abnormal, what kind of error message do you get?
Please share your website credentials in below private message, I need to check it in a live website, please backup your website first.
I have tried the credentials you provided above, it is not valid, I get below error message:
Unknown username. Check again or try your email address.
Did you get any PHP/JS error debug logs?
please provide a copy of your website, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
I can login and see the problem in your website, since you did not provide FTP access, I can not get PHP debug logs from your website, so I am downloading the database dump file from your website, will update here if find anything
I can duplicate the same problem in my localhost, and it is a known issue, see our erratum here:
https://toolset.com/errata/submitting-a-form-fails-with-there-was-an-error-while-submitting-the-form-or-a-404-error/
Currently, you can try these:
1) Edit post field group "Field Group for Artifacts"
hidden link
find and edit reference field "Platform", change the field slug to something else, for example "related-platform"
2) Edit the post form "Form for Artifacts":
hidden link
find and edit reference field "Platform", change the field slug same as above "related-platform", for example:
[cred_field field='related-platform' force_type='field' class='form-control' output='bootstrap' select_text='--- not set ---']
And test again.
Thank you! That first solution worked. That was exactly the issue. Great and simple resolution.
This is fixed in the latest version of Toolset Forms plugin, you can download it here:
https://toolset.com/account/downloads/
Please test it and feedback if the problem is fixed, thanks