Closed cv-chameleon closed 4 months ago
For people who also have this issue. In the meantime I made a class "AbstractLayout" and implemented the method "preventsAccessingMissingAttributes" there, exactly the same as in the Illuminate\Database\Eloquent\Model
class. I then extended my Layout classes from this AbstractLayout class.
@cv-chameleon Well that should not suppose to happen, we're not the only experiencing this problem, see PR here.
Are you planning to do a PR?
See #499.
With the latest Laravel 10.40 release, I get following error in my Layout classes:
Call to undefined method App\Nova\Flexible\Layouts\BannerLayout::preventsAccessingMissingAttributes()
It seems that the class
Whitecube\NovaFlexibleContent\Layouts\Layout.php
should implement this method, just like it's present on the Model classes.` /**