Description
Symfony version(s) affected: 4.1.4
Description
After Upgrade from 4.1.3 to 4.1.4 i get the following error:
It's a requirement to specify a Metadata Driver and pass it to Doctrine\ORM\Configuration::setMetadataDriverImpl().
EDIT: if you still have this issue, running composer require symfony/proxy-manager-bridge
should fix it.
Prefetching 41 packages
- Downloading (100%)
Package operations: 1 install, 58 updates, 0 removals
- Updating symfony/flex (v1.0.89 => v1.1.0): Loading from cache
- Updating symfony/dotenv (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/cache (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/polyfill-apcu (v1.8.0 => v1.9.0): Loading from cache
- Updating symfony/expression-language (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/polyfill-ctype (v1.8.0 => v1.9.0): Loading from cache
- Updating symfony/inflector (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/property-access (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/polyfill-php70 (v1.8.0 => v1.9.0): Loading from cache
- Updating symfony/polyfill-mbstring (v1.8.0 => v1.9.0): Loading from cache
- Updating symfony/options-resolver (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/intl (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/polyfill-intl-icu (v1.8.0 => v1.9.0): Loading from cache
- Updating symfony/event-dispatcher (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/form (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/lock (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/http-foundation (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/debug (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/http-kernel (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/routing (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/finder (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/filesystem (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/dependency-injection (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/config (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/framework-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/console (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/maker-bundle (v1.5.0 => v1.6.0): Loading from cache
- Updating symfony/security (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/security-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/templating (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/translation (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/validator (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/yaml (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/stopwatch (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/process (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/polyfill-php72 (v1.8.0 => v1.9.0): Loading from cache
- Updating composer/xdebug-handler (1.1.0 => 1.2.1): Loading from cache
- Updating friendsofphp/php-cs-fixer (v2.12.2 => v2.13.0): Loading from cache
- Updating symfony/dom-crawler (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/browser-kit (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/css-selector (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/var-dumper (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/twig-bridge (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/debug-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/phpunit-bridge (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/web-server-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating doctrine/cache (v1.7.1 => v1.8.0): Loading from cache
- Updating doctrine/persistence (v1.0.0 => v1.0.1): Loading from cache
- Updating symfony/doctrine-bridge (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/twig-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/web-profiler-bundle (v4.1.3 => v4.1.4): Loading from cache
- Updating symfony/serializer (v4.1.3 => v4.1.4): Loading from cache
- Installing markbaker/complex (1.4.6): Loading from cache
- Updating phpoffice/phpspreadsheet (1.3.1 => 1.4.0): Loading from cache
- Updating egulias/email-validator (2.1.4 => 2.1.5): Loading from cache
- Updating knplabs/knp-components (1.3.8 => v1.3.9): Loading from cache
- Updating symfony/monolog-bridge (v4.1.3 => v4.1.4): Loading from cache
- Updating zendframework/zend-code (3.3.0 => 3.3.1): Loading from cache
- Updating ocramius/proxy-manager (2.2.0 => 2.2.1): Loading from cache
My Doctrine Config:
parameters:
# Adds a fallback DATABASE_URL if the env var is not set.
# This allows you to run cache:warmup even if your
# environment variables are not available yet.
# You should not need to change this value.
env(DATABASE_URL): ''
doctrine:
dbal:
# configure these for your database server
driver: 'pdo_mysql'
server_version: '5.7'
charset: utf8
# With Symfony 3.3, remove the `resolve:` prefix
url: '%env(DATABASE_URL)%'
orm:
auto_generate_proxy_classes: '%kernel.debug%'
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
XXXX:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'XXXX\Entity'
alias: XXXX
</details>