Issue with template helper function in Sage 9?

Having some trouble with using the implemented /app/template() helper method.

I’m trying to render a blade template when accessing a specific url and this is currently how I echo it out:
return \App\template('custom-blade');

However when I look at the page I get the following error:

`Notice: Undefined property: Illuminate\View\Compilers\BladeCompiler::$app in /Users/peter/www/wordpress/michellekristensen/web/app/themes/mk/vendor/illuminate/view/Compilers/BladeCompiler.php on line 116`

I guess I have to set $app first but not sure how this will be done in this case?

This topic was automatically closed after 42 days. New replies are no longer allowed.