[Gelöst] Page cannot be found when saving Post Form after adding content
This support ticket is created vor 6 Jahren, 11 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I am trying to create a new CRED Post Form for post-type "Ad Responses" which is a child of post-type "Ads". The form saves just fine as long as there is no content. As soon as I add content (using form auto-generate) it kicks me to a page that says "Oops! That page cannot be found." I'm not sure what I'm doing wrong.
Do you mean that when you are in the back-end, editing the CRED form, when you try to save edits to the form you are redirected to the front-end 404 page?
I've never come across that before.
From your debug info it looks like you only have Toolset plugins installed. Could you switch theme to twentyseventeen and re-test?
And can you re-save your permalink settings (at Settings > Permalinks).
Yes, when saving the form in the back-end it goes to a 404 error. I have just switched themes and re-saved permalink settings ( custom: /%category%/%postname%/ ). The error is still happening: when adding the form content and clicking save it says cannot find page.
Would any of the post-type settings affect this? I will attach them as a screenshot just in case. Editor is the only field I have active on the post type.
I was able to access the site after setting up my hosts file, thanks.
I observed the problem, and the same when trying to create a new test form.
I turned on your debug logs, but no errors are reported.
I then made a duplicate of your site and installed it locally, and re-tested. Then there were no issues, the CRED form saved normally.
So it seems to be a an issue limited to your server.
I'll ask my colleagues in the Systems team if they have any advice, but there may not be much we can do here (our support policy does not cover server compatibility issues).
Quick update, that such issues are typically related to server security settings, and are not unique to CRED. See this report from Formidable, for example: versteckter Link
Thanks for the continued support. I was able to get that rule white listed but the error is still happening. The second suggestion in the link you sent, to get rid of any [if error] tags, isn't applicable because I don't have those tags in the code. Do you have any other ideas?
Another update - I started with the auto-generate content one div section at a time and figured out that the error only manifests if any of the custom Toolset fields are included in the code. Details below.