We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e77e2f commit d173193Copy full SHA for d173193
lib/internal/Magento/Framework/View/Design/Theme/ThemeList.php
@@ -234,7 +234,7 @@ protected function _prepareConfigurationData($themePackage)
234
$media = $themeConfig->getMedia();
235
236
$parentPathPieces = $themeConfig->getParentTheme();
237
- if (count($parentPathPieces) == 1) {
+ if (is_array($parentPathPieces) && count($parentPathPieces) == 1) {
238
$pathPieces = $pathData['theme_path_pieces'];
239
array_pop($pathPieces);
240
$parentPathPieces = array_merge($pathPieces, $parentPathPieces);
0 commit comments