Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Simple::getConfigurableAttributes() in /domains/silentnight.co.uk/___deploys/sn_master_20220623_073325/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php:153 Stack trace: #0 /domains/silentnight.co.uk/___deploys/sn_master_20220623_073325/app/design/frontend/Silentnight2021/default/Magento_Catalog/templates/product/view/options/hidden-options.phtml(4): Magento\ConfigurableProduct\Block\Product\View\Type\Configurable->getAllowAttributes() #1 /domains/silentnight.co.uk/___deploys/sn_master_20220623_073325/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/domains/silent...') #2 /domains/silentnight.co.uk/___deploys/sn_master_20220623_073325/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\ConfigurableProduct\Block\Product\View\Type\Configurable\Interceptor), '/domains/silent...', Array) #3 /domains/silentnight.co.uk/ in /domains/silentnight.co.uk/___deploys/sn_master_20220623_073325/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php on line 153