I could press ignore but it kept happening. I'd have a split second in game before another error would pop up, and what finally stopped it was switching from a blank inventory slot to an item. Not sure why. I did not have a shotgun in inventory when the first one happened, I thought to try that once it switched over to something about punches.