Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Simple::getConfigurableAttributeCollection() in /home4/mryga4rq/public_html/vendor/magento/module-configurable-product/Helper/Product/Options/Loader.php:52
Stack trace:
#0 /home4/mryga4rq/public_html/vendor/magento/module-configurable-product/Model/Product/ReadHandler.php(48): Magento\ConfigurableProduct\Helper\Product\Options\Loader->load(Object(Magento\Catalog\Model\Product\Interceptor))
#1 /home4/mryga4rq/public_html/vendor/magento/framework/EntityManager/Operation/Read/ReadExtensions.php(48): Magento\ConfigurableProduct\Model\Product\ReadHandler->execute(Object(Magento\Catalog\Model\Product\Interceptor), Array)
#2 /home4/mryga4rq/public_html/vendor/magento/framework/EntityManager/Operation/Read.php(112): Magento\Framework\EntityManager\Operation\Read\ReadExtensions->execute(Object(Magento\Catalog\Model\Product\Interceptor), Array)
#3 /home4/mryga4rq/public_html/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\ in /home4/mryga4rq/public_html/vendor/magento/module-configurable-product/Helper/Product/Options/Loader.php on line 52