Menu control array elements must be contiguous and within the same submenu
You have tried to add an item to a control array, where the other items in the array are adjacent to the current item. The indices of the items in a menu control array do not have to be contiguous (i.e., 2, 3, 4), but they must be in ascending order according to their location on the menu. The items in a menu control array, however, must be located next to each other within the same menu or pop-up menu.