An error in National Highways' system has meant thousands of variable speed camera fines have been issued by mistake.