jeudi 25 juin 2020

laravel blade data accessible in var_dump but not in template?

I have a blade template to which I pass an object in my controller. When I try to access the data in var_dump or outside HTML tags, I can see the content of the variable. However, I get a fatal error when loading the data inside html tags. gives me the article title but when I load my full template, it crashes at <title></title> it returns the follwing error : Undefined variable: title. Am I doing something wrong there ?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2BDnbg2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire