Drupal CMS

Error

The website encountered an unexpected error. Try again later.
TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in count() (line 63 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
count() (Line: 63)
Drupal\Core\Render\Element\Checkboxes::processCheckboxes() (Line: 1065)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 1128)
Drupal\Core\Form\FormBuilder->doBuildForm() (Line: 597)
Drupal\Core\Form\FormBuilder->processForm() (Line: 347)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 963)
install_get_form() (Line: 612)
install_run_task() (Line: 565)
install_run_tasks() (Line: 122)
install_drupal() (Line: 53)