On PHP 8, Types throws a fatal TypeError in WPToolset_Forms_Conditional::array_unique_md() when a field group's conditional display rule points to a field that no longer exists. The rule is dropped, the group ends up with no conditions, and null is passed to array_map().
The fatal fires during the admin footer, so every script printed after it is lost. On our site this stopped ACF WYSIWYG fields from initialising on the edit screen of our holiday custom post type.
Full details inc. debug and patch that fixed the problem: hidden link
Hello. Thank you for contacting the Toolset support.
Can you please share problem URL where I can see your form so that I can review your current settings.
Alternatively, you can share exact steps that should help me to reproduce the issue.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
The topic ‘[Closed] Toolset Types: fatal error with empty conditional display rules on PHP 8’ is closed to new replies.