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

'Mathias Arzberger'
Mathias Arzberger

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

Übergangslösung

In der composer.json unter require die Doctrine Version "fixieren"

"doctrine/dbal": "2.12.1",

Ähnliche Meldungen im Forum oder bei Github

 

Update

Das Problem ist behoben.



Zurück