The problem is caused by the latest WordPress update, they will fix it in the next update. By that time, do the next: go to Appearance > Menus > Screen options > enable CSS Classes, then add
menu-item-has-children
for all parent menu items (not the first level) for example – https://prnt.sc/PuXyIf47waWN
Regards