Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Simple::getConfigurableAttributes() in /domains/silentnight.co.uk/___deploys/sn_master_20220811_001346/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php:154 Stack trace: #0 /domains/silentnight.co.uk/___deploys/sn_master_20220811_001346/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_20220811_001346/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/domains/silent...') #2 /domains/silentnight.co.uk/___deploys/sn_master_20220811_001346/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render() #3 /domains/silentnight.co.uk/___deploys/sn_master_20220811_001346/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framew in /domains/silentnight.co.uk/___deploys/sn_master_20220811_001346/vendor/magento/module-configurable-product/Block/Product/View/Type/Configurable.php on line 154