How to break an infinite getSku() recursion while upgrading Magento from 2.1.x to 2.2.x?

bug
bug-fix
sku
upgrade
magento22

(Dmitry Fedyuk) #1

Locate the line:


Add the following block above:

if (($p = @$options['simple_product']) && @$p['product_id'] == $this->getId()) {
	unset($options['simple_product']);
}

How to break an infinite isVirtual() recursion while upgrading Magento from 2.1.x to 2.2.x?
How to break an infinite getWeight() recursion while upgrading Magento from 2.1.x to 2.2.x?
How did I upgrade gymstar.ca from Magento 2.1.9 to 2.2.6?