My fix
You need to patch the Magento\Framework\View\Design\Theme\ThemeList::_prepareConfigurationData()
method.
Replace the line:
with the following one:
if ($parentPathPieces && count($parentPathPieces) == 1) {
You need to patch the Magento\Framework\View\Design\Theme\ThemeList::_prepareConfigurationData()
method.
Replace the line:
with the following one:
if ($parentPathPieces && count($parentPathPieces) == 1) {