simplygoodwork / craft-block-usage

See how Matrix and Neo blocks are being used across your sections
MIT License
2 stars 3 forks source link

Error on Neoblocks #2

Closed LinneaHarts closed 1 year ago

LinneaHarts commented 1 year ago

I'm getting an error when viewing Neo Blocks on a Neo field where the blocks are nested 3 deep (at least I think that's the problem)

TypeError simplygoodwork\blockusage\services\BlockUsageService::_getNeoChildBlocks(): Argument #1 ($fieldHandle) must be of type string, array given, called in /mnt/www/skillsoft.com/adhoc/vendor/simplygoodwork/craft-block-usage/src/services/BlockUsageService.php on line 142

Using Craft 4.4.8 currently, and the latest Block Usage

chrisrowe commented 1 year ago

Thanks for the PR, I have just merged it into v1.0.2