Hi,
i am getting this error only for few customers (Fatal error:Uncaught Error: call to undefined method)
For Reference please find the attached image.
Solved! Go to Solution.
Add simple condition in Magento\ConfigurableProduct\Helper\Product\Options\Loader::load(ProductInterface $product) after line no : 51
if (get_class($typeInstance) == 'Magento\Catalog\Model\Product\Type\Simple' || get_class($typeInstance) == 'Magento\Bundle\Model\Product\Type')
{
return null;
}
@sekhar_n wrote:Hi,
i am getting this error only for few customers (Fatal error:Uncaught Error: call to undefined method)
For Reference please find the attached image.
Add simple condition in Magento\ConfigurableProduct\Helper\Product\Options\Loader::load(ProductInterface $product) after line no : 51
if (get_class($typeInstance) == 'Magento\Catalog\Model\Product\Type\Simple' || get_class($typeInstance) == 'Magento\Bundle\Model\Product\Type')
{
return null;
}
@sekhar_n wrote:Hi,
i am getting this error only for few customers (Fatal error:Uncaught Error: call to undefined method)
For Reference please find the attached image.