diff --git a/concrete/elements/express/form/form/association/select.php b/concrete/elements/express/form/form/association/select.php
index <HASH>..<HASH> 100644
--- a/concrete/elements/express/form/form/association/select.php
+++ b/concrete/elements/express/form/form/association/select.php
@@ -10,7 +10,7 @@
 
     <?php
     if (!empty($allEntries)) {
-        $selectedEntry = $selectedEntries[0];
+        $selectedEntry = $selectedEntries[0] ?? null;
         ?>
         <select class="form-select" id="<?=$view->getControlID()?>" name="express_association_<?=$control->getId()?>">
             <option value=""><?=t('** Choose %s', $control->getControlLabel())?></option>
fix error in select control under php 8