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 08b8956 + d122d30 commit 840d5b2Copy full SHA for 840d5b2
app/code/Magento/Config/App/Config/Type/System.php
@@ -245,7 +245,7 @@ private function cacheData(array $data)
245
);
246
$scopes = [];
247
foreach (['websites', 'stores'] as $curScopeType) {
248
- foreach ($data[$curScopeType] as $curScopeId => $curScopeData) {
+ foreach ($data[$curScopeType] ?? [] as $curScopeId => $curScopeData) {
249
$scopes[$curScopeType][$curScopeId] = 1;
250
$this->cache->save(
251
$this->serializer->serialize($curScopeData),
0 commit comments