Warning: Undefined variable $block in /var/www/magento/html/app/code/BBNT/Wishlist/view/frontend/templates/email/items.phtml on line 5

Fatal error: Uncaught Error: Call to a member function getWishlistItemsCount() on null in /var/www/magento/html/app/code/BBNT/Wishlist/view/frontend/templates/email/items.phtml:5 Stack trace: #0 {main} thrown in /var/www/magento/html/app/code/BBNT/Wishlist/view/frontend/templates/email/items.phtml on line 5