Fehlermeldung im Contao Manager: $statement must be a Statement object or an array

Problem
Fehlermeldung im Contao Manager beim Aufbau des Cache
Fehlermeldung
// Warming up the cache for the prod environment with debug
// false
CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "$statement must be a Statement object or an array" ["exception" => InvalidArgumentException { …},"command" => "cache:warmup --env=prod","message" => "$statement must be a Statement object or an array"]
In Result.php line 93:
$statement must be a Statement object or an array