This can happen if you have the bar code printing option set to ‘on’, and you don’t have a bar code font (which is specialized).
In either case, there’s no need to print bar codes, so you can undo that option:
Click Inventory > Setup > Options). Please unclick if it’s clicked!!