diff --git a/classes/PrestashopConfiguration.php b/classes/PrestashopConfiguration.php index 8eb194807..8a73695b7 100644 --- a/classes/PrestashopConfiguration.php +++ b/classes/PrestashopConfiguration.php @@ -78,6 +78,9 @@ public function getPrestaShopVersion() $this->psRootDir . '/app/AppKernel.php', ); foreach ($files as $file) { + if (!file_exists($file)) { + continue; + } $version = $this->findPrestaShopVersionInFile(file_get_contents($file)); if ($version) { return $version;