[PHP 8.1] New Organization: 4x Undefined array key
Having
- Drupal 9.5.11
- 5.66.0
Visiting
...civicrm/contact/add?reset=1&ct=Organization
Seeing
Warning: Undefined array key "contact_sub_type" in include() (line 32 of sites/default/files/civicrm/templates_c/en_US/%%47/472/472C7800%%Organization.tpl.php).
Warning: Trying to access array offset on value of type null in include() (line 32 of sites/default/files/civicrm/templates_c/en_US/%%47/472/472C7800%%Organization.tpl.php).
Warning: Undefined array key "contact_sub_type" in include() (line 34 of sites/default/files/civicrm/templates_c/en_US/%%47/472/472C7800%%Organization.tpl.php).
Warning: Trying to access array offset on value of type null in include() (line 34 of sites/default/files/civicrm/templates_c/en_US/%%47/472/472C7800%%Organization.tpl.php).