cannot add stocks in existing portfolio

Avatar

When I am trying to add a new stock or edit the stock which is already in my portfolio website returns the following message: "/stock name/ is not a valid Integer"

Is it a bug in the system?