Error Message The Itemtype property on MenuItem could not be set to a System.String value

#1

I got this error when I click on End Work Period it a show a message Error like picture below. Please kindly help me thanks