nova-flexible-content: Cannot save resource that uses Flexible field. (Call to undefined method forceFill)
Upon saving I get the error:
Call to undefined method Whitecube\NovaFlexibleContent\Layouts\Layout::forceFill()
I believe this is related to this issue here: https://github.com/outl1ne/nova-settings/issues/166
Followed same steps to reproduce the issue on a clean install with with whitecube/nova-flexible-content and still get this error as well.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 5
- Comments: 27 (16 by maintainers)
Commits related to this issue
- #464 Add LayoutTest — committed to alies-dev/nova-flexible-content by alies-dev a year ago
Totally missed the imports ๐ sorry, this is a bit of a mess. I added the imports and tagged yet another new version.
Can more people chime in on this fix? I have no time to investigate and Iโm fine merging a PR if enough people can confirm that it solves the problem.
I really wish Nova would be more careful with breaking changes on minor and patch releases.
We already do! https://github.com/laravel/nova-issues/discussions/4911#discussioncomment-3961246.
No tests, no licenses, I feel itโs like 200X ๐
Thanks a lot guys, it works now! ๐ช
Thanks @LTKort. I just tagged
v1.0.10
with your fix. Please report back again @m-lotze @lptnThis should be fixed in v1.0.9 thanks to @LorenzoSapora. Can someone report back? I will reopen if needed.
PR submitted contributions welcome.
Perhaps this is already being done, or perhaps itโs not feasible - however a pre-release notification to 3rd party package developers with a window to test and communicate breaking changes and collaborate on fixes before public release should alleviate issues like this.
Found the issue - Laravel Nova 4.26.0 (released today) introduces the error. Rolling back to 4.25.1 (one release prior) resolves the issue.