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
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,