Where are wrapper.php and extra.php in Sage 9 beta1?

Hi there,

I’m just setting up Sage Beta 1 and try to use the template wrapper as described here: https://github.com/roots/docs/blob/sage-9/sage/theme-wrapper.md

Unfortunately there is no wrapper.php file in the lib-Folder nor in the src-Folder. So I created it and copied the content from the docs there… This throws an error :frowning:

Warning: Illegal offset type in isset or empty in XXXX/vendor/illuminate/view/Factory.php on line 168
I debugged it and saw that the Blade render function causes this error. Blade.php:51 does not render SageWrapping objects - only strings.

Is this a bug or am I doing something wrong… Same case for the extra.php file i’m missing in Beta 1. Where to place it to render my custom post types?

Thanks a lot and all the best,
Sebastian

There’s isn’t a theme wrapper anymore, Blade docs have yet to be done — sorry for the confusion.

It’s noted at the top of https://github.com/roots/docs/pull/30

Blade has it’s own version of the theme wrapper - template inheritance.