We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08ec8ce + 936d62b commit 776060fCopy full SHA for 776060f
lib/internal/Magento/Framework/View/Model/Layout/Merge.php
@@ -799,7 +799,7 @@ private function getXmlErrors($libXmlErrors)
799
protected function _getPhysicalTheme(\Magento\Framework\View\Design\ThemeInterface $theme)
800
{
801
$result = $theme;
802
- while ($result->getId() && !$result->isPhysical()) {
+ while ($result !== null && $result->getId() && !$result->isPhysical()) {
803
$result = $result->getParentTheme();
804
}
805
if (!$result) {
0 commit comments