Skip Navigation

[Resolved] I can't add custom fields group to my site

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2689095

I am trying to:
add a custom field group to my site, but I can't do that. On the page itself : /wp-admin/admin.php?page=wpcf-edit I get the following notices:

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php:134) in /wp-includes/pluggable.php on line 1435

Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php:134) in /wp-includes/pluggable.php on line 1438

Whenever I try to create and save the group, I get a white screen with the following errors:

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/types/vendor/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php on line 155

Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php:134) in /wp-admin/admin-header.php on line 9

I was using PHP 8.2, but because I got another notice, I downgraded to PHP 8.1, and now I get those errors. Then, I downgraded to PHP 8.0, and I was able to add a custom fields group. However, this is not a solution, I won't compromise by downgrading the PHP version. The ideal situation would be using PHP 8.2 or PHP 8.3!

Btw, I'm seeing a lot of Deprecated PHP notices! To be very honest, it strikes me to see that!

Kind regards,
Sipan

#2689159

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As you can see with our Server Requirement Doc:
- https://toolset.com/toolset-requirements/

We tested Toolset plugins up to PHP version 8.1. Issues may arise with PHP 8.2 and we deal with them as they are reported.

Regarding deprecated notice you shared:

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in /wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134

===>
This is known to us and we have internal ticket about that and we will try to add the fix for this with near future release. Hopefully it will not take too long but I do not have any ETA on it.

Regarding the following deprecated notice:

Deprecated: Automatic conversion of false to array is deprecated in /wp-content/plugins/types/vendor/toolset/types/includes/classes/class.types.admin.edit.custom.fields.group.php on line 155

=====>
Can you please share edit page screenshot of your custom field group so I should be able to know how I can see the above notice?
OR
You can send me duplicator copy of your site.

#2689775

Hi Minesh, thanks for your response. I will reply to this thread tomorrow!

#2689885

Minesh
Supporter

Languages: English (English )

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

Ok fine - please get in touch with us and share all required information when you can.