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