14070 Menu item passed to popupMenu does not have submenu items
Cause
This error occurs when the popupMenu form method is called for a menu item that is not a popup menu. The popupMenu method can be called only for a menu with submenu items.
Action
Change your application code accordingly.