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.
1 parent 8e77e2f commit 6d4f36dCopy full SHA for 6d4f36d
lib/internal/Magento/Framework/View/Model/Layout/Merge.php
@@ -811,7 +811,7 @@ private function getXmlErrors($libXmlErrors)
811
protected function _getPhysicalTheme(\Magento\Framework\View\Design\ThemeInterface $theme)
812
{
813
$result = $theme;
814
- while ($result->getId() && !$result->isPhysical()) {
+ while ($result !== null && $result->getId() && !$result->isPhysical()) {
815
$result = $result->getParentTheme();
816
}
817
if (!$result) {
0 commit comments