I am trying to: publish a post using a cred post form. After submission the post page registers a "404 Page Not Found" instead of the published post. When I add a post directly from the WordPress interface "For Sale" custom post type I set up, it works fine and the page is created and can be viewed. Also, the custom "Views" I have set up do show the cred post form generated content, but the post itself can't be viewed.
I expected to see: a post with the url: hidden link
Instead, I got: a 404 page with the url of: hidden link
I reset the permalinks and am having the same problem. It seems the cred submission form is still adding this to the end of the post url: ?cred_referrer_form_id=10989, resulting in a "404 Page Not Found".
Hi Steve, Shane has a national holiday today so I will be glad to continue supporting you here. Can you tell me more about your site?
- What post type are the posts created by CRED? Is this post type created by Types, or by another plugin or theme?
- Can you find and edit in wp-admin the posts created by CRED? If so, please edit one and publish it from wp-admin. Does it begin to appear on the front-end of the site?
- Do you have any caching plugins or server-side caching systems implemented on your site? Can you clear them if so?
I am trying to post a Toolset custom post type with the cred form.
I do not have any caching plugins installed.
Yes, I can find and edit the post created by the cred form in the wp-admin, but it will not show up on the front end because the cred form has added ?cred_referrer_form_id=10989 to the end of the post url when the cred form created it. It opens a "404 page not found" instead.
The strange thing is that the "views" i have created show the post and the correct url, without the added ?cred_referrer_form_id=10989.
?cred_referrer_form_id=10989
This is a URL parameter that is added by CRED automatically to help manage responses when multiple forms exist on the same page, and is the expected result of a new CRED post submission. It shouldn't cause a 404 error unless something else is going on. When I go to either of these URLs, I see the same 404 error: hidden link hidden link
Can you share the URLs of some other posts created by CRED where I can see the issue?
Then try the following troubleshooting steps:
- Temporarily deactivate all plugins except Toolset plugins and activate a default theme like Twenty Seventeen. Retest the form.
- If the 404 error is resolved, reactivate your theme and plugins one by one until the conflict is revealed.
- If the 404 error is not resolved, please turn on server logs so we can see if anything else is causing an error. If you are not familiar with server logs, I can show you how to activate them temporarily. Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);
Then add these lines, just before it says 'stop editing here':
Then submit the CRED Form once more to trigger a 404 error. This will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php.