Skip Navigation

[Resolved] Some forms will result in 404 after submitting – worked before for over a year

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am using CRED Forms to create the CPT. It worked fine for a rather long period (at least a year) but shortly (January 2019) some forms stopped working. Submitting the form will end up on the 404-Page.

Solution:

In the post form "Tier melden", there is a generic field:

[cred_generic_field field='name' type='textfield' class='form-control' urlparam='']
...
[/cred_generic_field]

The "field" attribute is "name", it is a reserved term name of Wordpress, it conducts the problem.

You can simply change the "name" to something else, for example "name1", and test again.

Relevant Documentation:

https://codex.wordpress.org/Reserved_Terms

This support ticket is created 6 years ago. 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)

This topic contains 9 replies, has 3 voices.

Last updated by fabianT 5 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1191596

Tell us what you are trying to do?
I am using different form, so any visitor can submit forms which will end in CPT.
The project is about missing pets and finding care for found pets.
URL: hidden link

I am using CRED Forms to create the CPT. It worked fine for a rather long period (at least a year) but shortly (January 2019) some forms stopped working. Submitting the form will end up on the 404-Page.

This form ist working:
hidden link (ID: 825)

These are not:
hidden link (ID: 233)
hidden link (ID: 810)
hidden link (ID: 996)

I also tried to create a new CRED-Form, but it will also end up with "404".

I already updated the core and replaced the Toolset-Files.

Hopefully you can help me to solve this issue.

Kind regards
Theo

#1191750

Dear Theo,

The problem you mentioned above is abnormal, please try these:

1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2019, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1195118

Dear Luo,
enclosed you will find the backup of the site.

The dump for the filesystem you will find here:
hidden link

login:
toolset

passwort:
(ul$j2UX8Tsc)tsY0$^4lZuy

Wordpress ist up-to-date and I also made sure, that all Toolset-Files are in the latest version.

I still need asstistance in solving the problem.
Thx in advance
Theo

#1195342

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Luo is on vacation. This is Minesh here and I'll take care of this ticket and try to help you further. Hope this is OK.

I see you shared big file 1.2 GB, I'm trying to download it and once I setup your site locally and if I need anything I will get in touch with you as soon as possible.

#1196016

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I see you shared the copy of your wordpress install but I do not find the database.

Would you mind to share duplicator package of your install?
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#1202134

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - Thank you for sharing the duplicator package but the installer archive is only 1.75 MB - looks like its broken installer archive.

*** Please make a FULL BACKUP of your database and website.***
However - we just published the new version for Toolset Forms 2.3. Could you please try to update ALL Toolset plugins to it's latest official released version and check if that help you to resolve your issue.

If your issue still persists - I need correctly build duplicator package. If duplicator package does not work on your install, you can try with "All-in-One WP Migration" plugin and send me the downloaded archive.
=> https://wordpress.org/plugins/all-in-one-wp-migration/

If you do not know how to do it - please get in touch with me I will try to install above plugin on your site and try to download it from there.

I have set the next reply to private which means only you and I have access to it.

#1208579

Dear Minesh,

here you will find the All-In-One WP Migration - Dump file:
hidden link

The Update did not solve our problem.

Thx in advance

Kinde regards
Theo

#1209197

Thanks for the details, I can download the files, will update here if there is anything found

#1209219

Here are what I found:
In the post form "Tier melden", you are using generic field:

[cred_generic_field field='name' type='textfield' class='form-control' urlparam='']
...
[/cred_generic_field]

The "field" attribute is "name", which is a Reserved term name, it conducts the problem:
https://codex.wordpress.org/Reserved_Terms

You can simply change the "name" to something else, for example "name1", and test again.

#1210178

My issue is resolved now. Thank you!