Had an error using the Legacy Form (4543), which is what my site uses, but decided to change to the Express Form and I’m getting a different error.
It happens when I use PHP 8.1.12, it works when I use PHP 7.4.
When I submit a form with and empty select form I get the following:
Whoops \ Exception \ ErrorException (E_WARNING)
Trying to access array offset on value of type null
/updates/concrete-cms-9.1.3/concrete/attributes/select/controller.php
if (!$akSelectAllowMultipleValues && !$akSelectAllowOtherValues) {
// select list. Only one option possible. No new options.
$option = $this->getOptionByID($data['atSelectOptionValue']); <-- Error on line 250
if (is_object($option)) {
return $this->createAttributeValue($option);
}