Error when enabling Terms and Conditions in an Event online registration page
Created by: calbasi
I get an error when enabling Terms and Conditions in an Event online registration page.
CiviCRM 5.60-alpha1 Drupal 10 php 8.1
From drupal logs:
Localization: civicrm/event/register?id=8&reset=1
Reference: civicrm/event/info?reset=1&id=8
TypeError: strlen(): Argument #1 ($string) must be of type string, array given in HTML_QuickForm_checkbox->toHtml() (line 138 of vendor/civicrm/civicrm-packages/HTML/QuickForm/checkbox.php).
Severity: Error