Fatal error: Uncaught TypeError: Return value of CB\BondLinkedProducts\Block\Switcher::isRetail() must be of the type bool, null returned in /domains/corneyandbarrow.com/capistrano/releases/20210909102032/app/code/CB/BondLinkedProducts/Block/Switcher.php:92 Stack trace: #0 /domains/corneyandbarrow.com/capistrano/releases/20210909102032/app/code/CB/HrefLang/Plugin/ProductInBondLinkHreflangPlugin.php(38): CB\BondLinkedProducts\Block\Switcher->isRetail() #1 /domains/corneyandbarrow.com/capistrano/releases/20210909102032/vendor/magento/framework/Interception/Interceptor.php(146): CB\HrefLang\Plugin\ProductInBondLinkHreflangPlugin->afterGetHreflangUrls(Object(MageWorx\SeoBase\Model\Hreflangs\Product\Interceptor), Array) #2 /domains/corneyandbarrow.com/capistrano/releases/20210909102032/vendor/magento/framework/Interception/Interceptor.php(153): MageWorx\SeoBase\Model\Hreflangs\Product\Interceptor->Magento\Framework\Interception\{closure}() #3 /domains/corneyandbarrow.com/capistrano/releases/20210909102032/generated/code/MageWo in /domains/corneyandbarrow.com/capistrano/releases/20210909102032/app/code/CB/BondLinkedProducts/Block/Switcher.php on line 92