Недавно я обновляю свое приложение с Symfony 3.4 до Symfony 4.2.Я сталкиваюсь с ошибкой, сообщающей, что read error on connection
.
Вот трассировка стека:
at var/cache/dev/ContainerRUEbk9e/Redis_ca5fc0f.php:312
at Redis->get('DoctrineNamespaceCacheKey[]')
(var/cache/dev/ContainerRUEbk9e/Redis_ca5fc0f.php:312)
at Redis_ca5fc0f->get('DoctrineNamespaceCacheKey[]')
(vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php:47)
at Doctrine\Common\Cache\RedisCache->doFetch('DoctrineNamespaceCacheKey[]')
(vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:200)
at Doctrine\Common\Cache\CacheProvider->getNamespaceVersion()
(vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:177)
at Doctrine\Common\Cache\CacheProvider->getNamespacedId('9f7b27184e58ac025013b8c22fbdfa8a')
(vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:60)
at Doctrine\Common\Cache\CacheProvider->fetch('9f7b27184e58ac025013b8c22fbdfa8a')
(vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:271)
at Doctrine\ORM\Query->_parse()
(vendor/doctrine/orm/lib/Doctrine/ORM/Query.php:295)
at Doctrine\ORM\Query->_doExecute()
(vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:967)
at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(null, 1)
(vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:922)
at Doctrine\ORM\AbstractQuery->execute(null, 1)
(vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:726)
at Doctrine\ORM\AbstractQuery->getResult()
(src/Acme/AcmeBundle/Controller/AcmeController.php:1461)
at Acme\AcmeBundle\Controller\AcmeController->acmeAction(object(Request))
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:150)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:67)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:198)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(public/app_dev.php:35)
at runSymfony()
(public/app_dev.php:39)
at require('/var/www/html/project/Website/public/app_dev.php')
(vendor/symfony/symfony/src/Symfony/Bundle/WebServerBundle/Resources/router.php:42)
Пожалуйста, посмотрите на проблему