Я обновил pimcore
с v4
до v5
.Затем я вошел в свой pimcore
, и эти ошибки происходят
InvalidArgumentException Пакет "AppBundle" не существует или не включен.Может быть, вы забыли добавить его в метод registerBundles () вашего файла AppKernel.php?
vendor \ symfony \ symfony \ src \ Symfony \ Component \ HttpKernel \ Kernel.php (строка239)
if (!$first && !$noDeprecation) {
@trigger_error(
sprintf('Passing "false" as the second argument to
"%s()" is deprecated as of 3.4 and will be removed in 4.0.',
__METHOD__),
E_USER_DEPRECATED); }
if (!isset($this->bundleMap[$name])) {
throw new
\InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is
not enabled. Maybe you forgot to add it in the registerBundles() method
of your %s.php file?', $name, \get_class($this))); }
if(true === $first) {
return $this->bundleMap[$name][0];
}
InvalidArgumentException
вендора \ symfony \ symfony \ src \ Symfony \ Bundle \ FrameworkBundle \ Controller \ ControllerNameParser.php(строка 66)
if ($alternative = $this->findAlternative($bundle)) {
$message .= sprintf(' Did you mean "%s:%s:%s"?', $alternative,
$controller, $action);
}
throw new \InvalidArgumentException($message, 0, $e);
}
if(!\is_array($allBundles)) {
// happens when HttpKernel is version 4+
$allBundles = [$allBundles];
какое-нибудь решение для этого?