Skip Navigation

[Resolved] URGENT SITE BROKEN: Toolset Types Error

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 9 months, 4 weeks ago.

Assisted by: Nigel.

Author
Posts
#2680979

I am unable to use my website because of an error from Toolset.

This is urgent, there is a promotion for this website today.

The error message about Toolset being received is the one below. This occurs when we try to create a new post of any post type.

= = =

Warning: Creating default object from empty value in /home/customer/www/writing.ie/public_html/wp-admin/includes/post.php on line 795

Fatal error: Uncaught InvalidArgumentException: Invalid argument type for the post type. in /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php:537 Stack trace: #0 /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(310): Toolset_Field_Group->is_assigned_to_type(NULL) #1 /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(256): Toolset_Field_Group_Post_Factory::{closure}(Object(Toolset_Field_Group_Post), false) #2 /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(480): Toolset_Field_Group_Post_Factory->filter_groups(Array, Array, Array) #3 /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php(1511): Toolset_Field_Gro in /home/customer/www/writing.ie/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php on line 537
There has been a critical error on this website. Please check your site admin email inbox for instructions.

= = =

I can send you the email received that is referred to there, but I would like to do it privately.

Details of the WordPress installation:

WordPress version 6.4.3
Current plugin: Toolset Types (version 3.5.2)
PHP version 7.4.33

The site is writing.ie. It is live on the web on the front end, but we cannot add any new content because of this error

#2680992

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Let me see if I can help.

As your site is live it's not really possible to debug directly.

Do you have a staging server, or can you create a copy of the site on a dev server for testing?

If I can get access to that I will look into what the possible cause might be.

Let me mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.

#2681015

I was able to resolve this issue myself. Thank you.