Skip Navigation

[Resolved] Cannot create new front end form

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

Problem:
I created a new post type, added custom fields but when I try to create a new form I get a Critical site error. I can open/edit existing forms, but cannot create new forms.
Solution:
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.

This support ticket is created 2 years, 1 month 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 20 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 10 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2605639

Tell us what you are trying to do?
I created a new post type, added custom fields but when I try to create a new form I get a Critical site error. I can open/edit existing forms, but cannot create new forms.

Is there any documentation that you are following?
No. I searched the forums for help but couldn't find any

Is there a similar example that we can see?

What is the link to your site?
hidden link but the issue is on the admin side

#2605793

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thanks for your contact and welcome to our support forum!

We might be facing an interaction issue with a third-party functionality, in this case:

- Deactivate all the plugins that are not related to Toolset
- Switch for a moment to a WordPress default theme like Twenty Twenty-one
- If the issue is gone, activate one by one to see with which one there is an interaction issue

Could you please tell me the results of this investigation? Also, can you enable the debug mode? Just add the following code in your wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check the following links to read more about debugging with WordPress.
- https://codex.wordpress.org/Debugging_in_WordPress
- https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, kindly send us the last lines here in the ticket.

Regards,
Mateus.

#2605799

I deactivated all non-toolset plugins and switched the theme from astra to 2023, but I still could not add a new form.
I added the code to the wp-config file, tried to reproduce issue. got a 500 internal service error but no debug.log file was in the wp-content folder.

What next? I've got to get this functioning in the next few days or we'll have to go another route (which is NOT what I want to do!!!)

thanks!

#2605865

Additional info:
I received the email below this morning. I (again) deactivated Events Calendar, deleted the cache, and went to permalink and saved (on the advice of another toolset user). None of this made a difference. I can still access existing forms but cannot create a new one. Site appears to function correctly on the front end with or without events calendar enabled.

"Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, The Events Calendar.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.2
Active theme: Astra (version 4.1.4)
Current plugin: The Events Calendar (version 6.0.13)
PHP version 8.0.28

Error Details
=============
An error of type E_ERROR was caused in line 378 of the file /home/dh_tgg7e3/geag.net/wp-content/plugins/the-events-calendar/common/vendor/lucatume/di52/src/tad/DI52/Container.php. Error message: Maximum execution time of 120 seconds exceeded

#2606627

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your return.

If you deactivate the "the-events-calendar" plugin, is the issue solved? As displayed in the error you shared, the problem seems to be coming from this plugin. If possible also ask for their support.

In the meantime, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/privacy-policy-and-gdpr-compliance/#data-shared-with-our-support
**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2606695

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thank you for providing the credentials.

We were successfully able to create a form in your dashboard: hidden link

Perhaps am I missing some fundamental step in order to reproduce it? Could you please tell us the exact step-by-step you're following?

Moreover, just to make sure, do we have your authorization to make a copy of the website and migrate it into another server? In order to perform more complex tests without compromising the live production.

Please keep us posted about it. Thank you.

#2606703

When I try to create a new form, either from the dashboard or the menu, it appears to start loading the page but then stops, does nothing for a while and then gives me a critical error or internal server error. I’m using Safari. Could that have anything to do with it?
Everything else functions correctly.
And yes, you have my permission to make a copy

If you have any suggestions for improvement of the site, I’m all ears.
Thank you

#2606713

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Yes, perhaps it might be related, so could you please test it in a different browser? Please make sure to clear any existing cache in the website and also in the browsers you're testing.

Further, if possible, may I kindly ask you to record a video of you replicating the issue? So that we can debug this properly. Here an useful platform for this: hidden link

Please let us know. Thank you.

#2606715

I will do that. I’m away from my computer for a few hours but will take care of everything as soon as possible!

#2606757

I cleared caches, updated and cleaned up everything. I can create a new form from the Post Forms menu now, but still not from the dashboard. Since I can at least get forms created now, it's not as urgent but I would like to figure out why it is happening. When I click create from from the dashboard, the page shows it is loading but eventually (after several minutes), I get an Internal Service Error. Do you need a video of that?

#2607137

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Sally,

Thanks for your reply.

Yes, if possible make the video replicating the issue because right now we're not able to experience it.

Please let us know. Thank you.

#2607261

Here's a link to the recording: hidden link

#2607647

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thanks for your patience.

I checked this out but so far I couldn't find a fix for it. I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

We'll come back to you here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Best,
Mateus.

#2607663

Thank you for continuing to work on it. While I really want to understand why it’s happening, I’m glad I at least have a why to work on what I need to do.

#2607951

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi,

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus.