You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After switching from PHP 7.2 to PHP 7.3 when I tried to add a bundle product to the cart I got this Fatal: Fatal error: Nesting level too deep - recursive dependency? in /data/my/magento/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php on line 134
After switching from PHP 7.2 to PHP 7.3 when I tried to add a bundle product to the cart I got this Fatal:
Fatal error: Nesting level too deep - recursive dependency? in /data/my/magento/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php on line 134
Possible solution is adding third parameter "true" to
in_array
function:https://github.com/OpenMage/magento-lts/blob/1.9.4.x/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php#L134
founded here:
https://stackoverflow.com/questions/3834791/fatal-error-nesting-level-too-deep-recursive-dependency
This worked for me:
if (!in_array($this, $parentItem->getChildren(), true))
I am just wondering if Magento core is really ready for PHP 7.3...
The text was updated successfully, but these errors were encountered: