hello Bill Wong
when the page has no children there is the error:
drupal book_blocks Warning: foreach() argument must be of type array|object, null given in line 66 of modules/book_blocks/src/Plugin/Block/BookBlocksBlockBase.php)
how to fix the public function addClassForCurrentNode(&$list, $nid) {
Thanks
Fixed
1.13
Code