Where is $language being defined? It appears you are missing the languages table and model. If the title is not being saved, then it won't be able to be associated with a discount. Make sure the title is actually being saved in the database in the first part of your code.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community