This error indicates that you have tried to use the item or choose commands without previously creating a menu using the menu command.
item
choose
menu