Hi there,
I constantly got this error when in "Custom Fields" editing dashboard.
===================================
Deprecated: ctype_digit(): Argument of type WP_Post will be interpreted as string in the future in /home/vagrant/www/reeds/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php on line 134
===================================
I'm running WordPress 6.6.1 and PHP 8.1
Can you please have a look and let me know the fix for this.
Thanks,
Anh
We already have reports of this and it is fixed in development, so the problem will disappear with the next update of Types. As a deprecation notice it has no effect on the functionality of your site.
In the meantime, the reason you are seeing the message on the field group edit screen is that you have WordPress debug mode turned on, and logging errors to the screen, and you would normally only do this on a development site, not in production.
You will want to edit your wp-config.php file and set WP_DEBUG to false (except when actively debugging something, and even then you probably want to send the errors to a log file rather than display them on the screen).