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 2609a44 commit 1eaf111Copy full SHA for 1eaf111
Classes/Service/SerializerService.php
@@ -90,7 +90,7 @@ public static function getMetadataCache(): FileCache
90
*/
91
public static function clearCache(array $params): void
92
{
93
- if (in_array($params['cacheCmd'], ['all', 'system'])) {
+ if (isset($params['cacheCmd']) && in_array($params['cacheCmd'], ['all', 'system'])) {
94
$filesystemService = GeneralUtility::makeInstance(FilesystemService::class);
95
$filesystemService->flushDirectory(self::getSerializerCacheDirectory(), true, true);
96
$filesystemService->flushDirectory(self::getAutogeneratedMetadataDirectory(), true, true);
0 commit comments