laravel-graphql icon indicating copy to clipboard operation
laravel-graphql copied to clipboard

How do you debug blade?

Open drmax24 opened this issue 6 years ago • 0 comments

I have a graphql that sends an email. Blade template has an error. But this error is not on line 1 obviously. No meter how i try to edit error formatter i can not squeeze a real line in my blade. And our programmers have the same problem. Spoke to my team. Guys don't know how to debug this too. At least it names the problem file. For zx spectrum debugger that could be not bad.

{  
   "data":{  
      "dealer_car_locator_order_form":null
   },
   "errors":[  
      {  
         "message":"Trying to get property of non-object (View: /work/www/loc/mysproject/resources/views/emails/dealer-car-locator/order-user.blade.php)",
         "locations":[  
            {  
               "line":1,
               "column":12
            }
         ]
      }
   ]
}

drmax24 avatar Apr 23 '18 12:04 drmax24