Tell us what you are trying to do?
Hi, I have set up a custom post type with field group and repeatable field group. I was able to then create a post form for the field group, but recently when I've attempted to create another post form for the repeatable field group, I cannot. The wizard is not creating the post form, it stays on the "Finish" without actually finishing. I can leave the "finish" page of the wizard by navigating to "Post Forms" from the menu, and it actually shows the new post form, but it is not complete somehow as nothing shows when I add it to a page, and when I edit it, the wizard opens on that "finish" step, or if I exit the wizard, I can see the form, but some fields are not added, and when I add them, and save, it doesn't save my changes, and still does not show anything when added to a page.
Maybe connected, but when I click the "Create Form" button from the dashboard, it also waits for a long time, and then goes nowhere.
I have disabled all other plugins to check for a conflict but the issue remains, so perhaps it is some server issue? I hope you could investigate.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
hidden link
You will not be able to see this without logging in as admin.
Hello,
The problem you mentioned above is abnormal, please check these:
1) Check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
2) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
3) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2022, deactivate all custom PHP/JS code snippets, and test again
Hi Luo, thank you for your assistance. Console shows error:
GET hidden link 404
I will continue with your other suggestions and update, but in the meantime if this indicates any issue you are aware of, please let me know.
Also I am using Sucuri plugin for hardening and this currently is set to deny access to any PHP file located in WP-CONTENT, WP-INCLUDES and Uploads directory. Could this have any effect? Do any of the Toolset plugins try to execute anything in these directories? I am able to allow specific php files in these folders but I would need to know specific files to unblock.
An update. I believe this may be the problem. From debug I can see some issues with php file in wp-includes. I will attempt to allow it and update if this solves the issue.
OK, please update here if you still need assistance from Toolset side.
Dear Luo, it turns out that this was not the problem, because I was seeing an unrelated php error. So the issue persists. I don't see php errors in the logs related to Toolset. In Console I see the below error when the wizard to create a new post form is at the last "Finish" stage.
jquery.min.js?ver=3.6.4:2
POST hidden link 404
send @ jquery.min.js?ver=3.6.4:2
ajax @ jquery.min.js?ver=3.6.4:2
(anonymous) @ jquery-migrate.min.js?ver=3.4.0:2
e.<computed> @ jquery-migrate.min.js?ver=3.4.0:2
nextStep @ wizard.js?ver=2.6.16:190
(anonymous) @ wizard.js?ver=2.6.16:458
dispatch @ jquery.min.js?ver=3.6.4:2
y.handle @ jquery.min.js?ver=3.6.4:2
Just to add, and when attempting to add a post form from the dashboard it gives:
GET hidden link 404
Please try these:
1) Reinstall the latest version of Toolset Forms plugin, you can download it here:
https://toolset.com/account/downloads/
2) deactivate all other plugins, and switch to WordPress default theme 2022, deactivate all custom PHP/JS code snippets, and test again
If you still need assistance for it, please:
1) Backup your website first
2) Provide your website credentials in below private message box, I need a live website to test and debug.
Here is my IP address: 216.250.97.225, please whitelist it.
Hi Luo, your IP should be whitelisted now.
If it turns out to be server related (PHP configuration) or similar, I can either give you cpanel access, or you can instruct me to make changes and I will do it.
Thanks for the detail, it is a server issue, you can try these:
1) Use FTP tools to login into your website folders:
- Rename/remove the file /public_html/test/.htaccess
- Rename/remove the file /public_html/.htaccess
2) Test it it again:
I can create the Toolset post forms correctly, for example:
hidden link
Since those two ".htaccess" files where customized by other plugins, I suggest you try to follow WP document to setup them:
https://wordpress.org/documentation/article/htaccess/
Hi Luo,
Thanks but I cannot recreate your findings. When I rename both .htaccess files, I get a 500 Internal Server Error when attempting to "Create Form" from Toolset Dashboard, or saving a form creating from the "Post Forms" page.
GET hidden link 500
When I create a new .htaccess file according to the basic WordPress installation, I get a 404 as before.
I will continue to investigate. Perhaps the problem does have something to do with the .htaccess file however, and/or php configuration.
Please hold off for now on anything else from your side. I will update here again.
I have updated this thread to "Waiting for feedback" status, please update here if you still need assistance in Toolset side.
Thanks Luo, this issue is resolved (at least partially). The problem was caused by a ModSec rule ID 300014 being triggered. Once I whitelisted this rule, I can create post forms from the Toolset > Post Forms page, and everything works. I still can't do it from the dashboard however, I haven't figured out what's causing that problem but it is less important so I will look at it later.