Blade PHP error logging

Hi guys,

When I trigger an error while using Blade templates in Sage, I get this kind of output in my debug.log file:

[18-May-2018 12:51:59 UTC] PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to undefined method App\Controllers\SingleOffer::prices() in /srv/www/

How can I get it to output the real PHP/blade file this came from, and not reference the blade cache? I vaguely read this was a feature of Laravel 5.4 but it doesn’t seem implemented in Sage.

I’m using trellis with xdebug.

1 Like