We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since i upgraded from 3.4.0-BETA3 to 3.4.0-BETA4 i got the error message:
Fatal error: Uncaught ErrorException: constant(): Couldn't find constant Memcached::OPT_LAZY in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/MemcachedTrait.php:147 Stack trace: #0 [internal function]: Symfony\Component\Cache\Adapter\MemcachedAdapter::Symfony\Component\Cache\Traits\{closure}(2, 'constant(): Cou...', '/var/www/html/v...', 147, Array) #1 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/MemcachedTrait.php(147): constant('Memcached::OPT_...') #2 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php(138): Symfony\Component\Cache\Adapter\MemcachedAdapter::createConnection(Array, Array) #3 /var/www/html/var/cache/dev/ContainerFgwxh3x/appDevDebugProjectContainer.php(667): Symfony\Component\Cache\Adapter\AbstractAdapter::createConnection('memcached://cac...', Array) #4 /var/www/html/var/cache/dev/ContainerFgwxh3x/appDevDebugProjectContainer.php(748): ContainerFgwxh3x\appDevDebugProjectContainer->getCache_AppService() #5 /var/ww in /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/MemcachedTrait.php on line 147
I found out its the cache pool definition in config.yml
framework: #esi: ~ #translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.root_dir%/config/routing.yml" strict_requirements: ~ form: ~ csrf_protection: ~ validation: { enable_annotations: true } #serializer: { enable_annotations: true } templating: engines: ['twig'] default_locale: "%locale%" trusted_hosts: ~ session: # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id handler_id: session.handler.native_file save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" fragments: ~ http_method_override: true assets: packages: static: version: "%revision%" php_errors: log: true web_link: enabled: true cache: app: cache.adapter.memcached default_memcached_provider: "memcached://%memcached_server%"
I could't found where the lazy option is set, but when i downgrade to BETA 3 its working. So i guess there is a issue with the beta4.
The text was updated successfully, but these errors were encountered:
should be fixed in #25038
Sorry, something went wrong.
bug #25038 [Cache] Memcached options should ignore "lazy" (nicolas-gr…
219d710
…ekas) This PR was merged into the 3.4 branch. Discussion ---------- [Cache] Memcached options should ignore "lazy" | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #25036 | License | MIT | Doc PR | - Commits ------- de5f41d [Cache] Memcached options should ignore "lazy"
No branches or pull requests
Since i upgraded from 3.4.0-BETA3 to 3.4.0-BETA4 i got the error message:
I found out its the cache pool definition in config.yml
I could't found where the lazy option is set, but when i downgrade to BETA 3 its working. So i guess there is a issue with the beta4.
The text was updated successfully, but these errors were encountered: