Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Product\Type\Simple::getConfigurableAttributesAsArray() in /home/blakely247/app/public_html/app/code/FlintStudios/RedirectSimplesToParent/Observer/Predispatch.php:47 Stack trace: #0 /home/blakely247/app/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): FlintStudios\RedirectSimplesToParent\Observer\Predispatch->execute(Object(Magento\Framework\Event\Observer)) #1 /home/blakely247/app/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(FlintStudios\RedirectSimplesToParent\Observer\Predispatch), Object(Magento\Framework\Event\Observer)) #2 /home/blakely247/app/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #3 /home/blakely247/app/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Fr in /home/blakely247/app/public_html/app/code/FlintStudios/RedirectSimplesToParent/Observer/Predispatch.php on line 47