Invalid argument when using cache

Kirby Version 3.4.5
plugins: bnomei/fingerprint v3.0.11

When I activate the cache I get the following error message when I try to save a page in the Panel.
“Exception: undefined
Invalid argument “-” in method “-””

grafik

The page cannot be loaded anymore. In the debugger the following is displayed:

Kirby\Exception\InvalidArgumentException thrown with message "Invalid argument "-" in method "-""

Stacktrace:
#5 Kirby\Exception\InvalidArgumentException in ....\dist\kirby\src\Cms\AppCaches.php:46
#4 Kirby\Cms\App:cache in ....\dist\kirby\src\Cms\Page.php:622
#3 Kirby\Cms\Page:isCacheable in ....\dist\kirby\src\Cms\Page.php:1166
#2 Kirby\Cms\Page:render in ....\dist\kirby\src\Cms\App.php:665
#1 Kirby\Cms\App:io in ....\dist\kirby\src\Cms\App.php:1018
#0 Kirby\Cms\App:render in ....\dist\index.php:5

If I set to false in the config cache, the page works again.
Any idea where I can start looking for the error?

config looks like this

    return [
      'debug' => true,
      'cache' => [
        'pages' => [
          'active' => true,
          'type' => 'filecache'
        ]
      ]
    ];

Can this be reproduced in a fresh Starterkit without any plugins?

You should use file as type instead of filecache like that:

<?php

return [
    'debug' => true,
    'cache' => [
        'type' => 'file',
        'pages' => [
          'active' => true
        ]
    ]
];

@ahmetbora Good catch!

@man-oi Since file cache is the default anyway, you don’t have to explicitly set this.