On the add transaction page, only active portfolio(s) are shown.
Therefore, if the dropdown portfolio list is empty or have missing portfolio(s), it is because you have made your portfolio(s) inactive on this page.
Simply go there and check the “Active” column for portfolio(s) that you want to still add transactions to it.