benf\neo\elements\Block::useMemoized(): Argument #1 ($use) must be of type Illuminate\Support\Collection|array|bool, benf\neo\elements\db\BlockQuery #881
Labels
bug report status: external cause
A bug report that was caused by behaviour external to this project
bug report
Bug Description
Hello,
Firstly apologies if this isn't a a bug and just an issue with our implementation of eager loading/useMemoized. We've run an upgrade from Craft 3 to Craft 4 and updated Neo in the process. In our templates we have the following -
After performing the upgrade to Craft 4, we get a TypeError -
Stack trace -
Steps to reproduce
Expected behaviour
Eager loaded elements/no type error
Neo version
4.1.2
Craft CMS version
4.8.9
What is the affected Neo field's propagation method?
No response
Does this issue involve templating, and if so, is eager-loading used?
This is a templating issue, and eager loading is used
The text was updated successfully, but these errors were encountered: