When i'm trying it on my browser everything is fine, but when I run a simple test everything blows up ... After some debugging I found out the closure wasn't executed at all.
Note : It visits a page, fills the form and subscribe, then it redirects on the page with the @include and it returns a big error, part of it is
exception 'ErrorException' with message 'Undefined variable: my_var' in /Users/Loschcode/Google Drive/projects/my_project_lo/website/storage/framework/views/7e11f284c02bc38adc60b5f8a0545df65d7cf5ec.php:7
I'm afraid it an issue, it's fresh Laravel 5.2 I downloaded a few days ago. Any guess ? Any method to debug this ? Thanks
I've a view composer written like this
In one of my view I do as follow
When i'm trying it on my browser everything is fine, but when I run a simple test everything blows up ... After some debugging I found out the closure wasn't executed at all.
Note : It visits a page, fills the form and subscribe, then it redirects on the page with the
@include
and it returns a big error, part of it isI'm afraid it an issue, it's fresh Laravel 5.2 I downloaded a few days ago. Any guess ? Any method to debug this ? Thanks