I’m still having issues with timeouts. Dreamhost has been looking at things from their end and asked me to try php 7.4.
Yesterday a member received a “potentially unsafe operation “ error on submitting a form that has previously worked with no issues:
hidden link
I’m getting stressed about having to redo the site and come up with a new plan in the next week due to events that need a functioning site. Can you advise what could have caused this? Do I need to move back to pho 8.0?
Thank you for your help

Mateus Getulio
Supporter
Languages:
English (English )
Timezone:
America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for your reply.
We have just tested the mentioned form and the submission worked fine: hidden link. If you're still facing problems in this matter, I kindly ask you to open a new ticket for it, since it is a different issue and we need to focus in just one issue per ticket.
Now, regarding the main issue related to the time out in the forms creation, our team is already investigating it and as soon as possible we'll provide you with updates. What I can share with you now is that it's not specific to your installation - if we create a clean WP install and install Toolset there, the 'create form' button won't work as well.
Please stay tuned for our contact. Thank you.

Mateus Getulio
Supporter
Languages:
English (English )
Timezone:
America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks for your patience.
Upon further inspection, we have found a workaround for you. Please follow these steps:
- Make sure to have a complete backup
- Get access to the website files
- Go to this folder: wp-content/plugins/types/application/models/helper/create
- Open the 'form.php' file
- Replace these lines:
private function validate_name( $name, $id = 1 ) {
$name_exists = $this->get_object_by_title(
html_entity_decode( $name ),
defined( 'CRED_FORMS_CUSTOM_POST_NAME' ) ? CRED_FORMS_CUSTOM_POST_NAME : 'cred-form'
);
if ( $name_exists !== null ) {
$name = $id > 1 ? rtrim( rtrim( $name, (string) ( $id - 1 ) ) ) : $name;
return $this->validate_name( $name . ' ' . $id, $id + 1 );
}
return $name;
}
- With these ones:
private function validate_name( $name, $id = 1 ) {
$name_exists = $this->get_object_by_title(
html_entity_decode( $name ),
defined( 'CRED_FORMS_CUSTOM_POST_NAME' ) ? CRED_FORMS_CUSTOM_POST_NAME : 'cred-form'
);
if ( $name_exists ) {
$name = $id > 1 ? rtrim( rtrim( $name, (string) ( $id - 1 ) ) ) : $name;
return $this->validate_name( $name . ' ' . $id, $id + 1 );
}
return $name;
}
Ensure to not remove the last "}' at the end of the file, otherwise it won't work. Just save it and then it should be solved.
Please give it a try and let us know how it goes. Thank you.
thank you for all your work on this issue. I'm more comfortable continuing to access new forms from the other location than adding this code. Hopefully this will be something resolved in your next release.

Mateus Getulio
Supporter
Languages:
English (English )
Timezone:
America/Sao_Paulo (GMT-03:00)
Hello there,
Thanks for your patience and understanding.
I will set the current ticket status as escalated to our developers team, and I will get back to you as soon as I get any feedback from them.
Kind regards,
Mateus.

Mateus Getulio
Supporter
Languages:
English (English )
Timezone:
America/Sao_Paulo (GMT-03:00)
Hi there,
Thanks a lot for your patience.
This issue has been fixed now with the Types version 3.4.20, please update it by going to Plugins -> Add New -> Commercial tab. Alternatively, you can download it from here: https://toolset.com/account/downloads/, and upload directly into your Plugins -> Add New page.
Looking forward to your reply and confirmation. Thank you.
the update seems to have resolved the issue. Thank you