Warning: Undefined variable $block in /var/www/magento/html/app/code/Aligent/GroupedSwatches/view/frontend/templates/grouped-swatches.phtml on line 9

Fatal error: Uncaught Error: Call to a member function displaySwatches() on null in /var/www/magento/html/app/code/Aligent/GroupedSwatches/view/frontend/templates/grouped-swatches.phtml:9 Stack trace: #0 {main} thrown in /var/www/magento/html/app/code/Aligent/GroupedSwatches/view/frontend/templates/grouped-swatches.phtml on line 9