質問 > フロント機能 > デバッグモードでエラーが出る |
フロント機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
kanaboon |
投稿日時: 2023/12/20 15:17
対応状況: −−−
|
新米 登録日: 2023/12/14 居住地: 投稿: 6 |
デバッグモードでエラーが出る ▼テンプレート
[EC-CUBE] EC-CUBE4.2.3 [レンタルサーバ] エックスサーバー [PHP] 8.1.22 [データベース] MariaDB10.5 [ブラウザ] Chrome [導入プラグインの有無] ルミーズ決済プラグイン、受注データ一括削除プラグイン for EC-CUBE4.2 [現象] .envファイルを下記のように2か所変更するとエラーになります。 本番環境に戻すと正常に表示されます。 キャッシュを削除してみても変化はありませんでした。 APP_ENV=dev APP_DEBUG=1 以下が表示されるエラーになります。 Uncaught Exception: The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue. --> exception: class: Doctrine\Migrations\Exception\MetadataStorageError message: 'The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue.' code: 0 file: /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Exception/MetadataStorageError.php line: 13 trace: "#0 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(237): Doctrine\\Migrations\\Exception\\MetadataStorageError::notUpToDate()\n#1 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(82): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->checkInitialization()\n#2 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/doctrine-migrations-bundle/Collector/MigrationsCollector.php(37): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->getExecutedMigrations()\n#3 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Profiler/Profiler.php(161): Doctrine\\Bundle\\MigrationsBundle\\Collector\\MigrationsCollector->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), Object(Doctrine\\Migrations\\Exception\\MetadataStorageError))\n#4 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/ProfilerListener.php(108): Symfony\\Component\\HttpKernel\\Profiler\\Profiler->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), Object(Doctrine\\Migrations\\Exception\\MetadataStorageError))\n#5 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener->onKernelResponse(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#6 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#7 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent))\n#8 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#9 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(196): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#10 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(184): Symfony\\Component\\HttpKernel\\HttpKernel->filterResponse(Object(Symfony\\Component\\HttpFoundation\\Response), Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#11 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#12 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php(91): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 2, false)\n#13 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener->onKernelException(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#14 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#15 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent))\n#16 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...')\n#17 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(223): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...')\n#18 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(114): Symfony\\Component\\HttpKernel\\HttpKernel->handleThrowable(Object(Doctrine\\Migrations\\Exception\\MetadataStorageError), Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php(131): Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Doctrine\\Migrations\\Exception\\MetadataStorageError), Object(Symfony\\Component\\HttpFoundation\\Request))\n#20 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/error-handler/ErrorHandler.php(607): Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::Symfony\\Component\\HttpKernel\\EventListener\\{closure}(Object(Doctrine\\Migrations\\Exception\\MetadataStorageError))\n#21 [internal function]: Symfony\\Component\\ErrorHandler\\ErrorHandler->handleException(Object(Doctrine\\Migrations\\Exception\\MetadataStorageError))\n#22 {main}" previous: { class: Doctrine\Migrations\Exception\MetadataStorageError, message: 'The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue.', code: 0, file: /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Exception/MetadataStorageError.php, line: 13, trace: "#0 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(237): Doctrine\\Migrations\\Exception\\MetadataStorageError::notUpToDate()\n#1 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(82): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->checkInitialization()\n#2 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/doctrine-migrations-bundle/Collector/MigrationsCollector.php(37): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->getExecutedMigrations()\n#3 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Profiler/Profiler.php(161): Doctrine\\Bundle\\MigrationsBundle\\Collector\\MigrationsCollector->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), Object(Twig\\Error\\RuntimeError))\n#4 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/ProfilerListener.php(108): Symfony\\Component\\HttpKernel\\Profiler\\Profiler->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), Object(Twig\\Error\\RuntimeError))\n#5 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener->onKernelResponse(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#6 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#7 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent))\n#8 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#9 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(196): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#10 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(184): Symfony\\Component\\HttpKernel\\HttpKernel->filterResponse(Object(Symfony\\Component\\HttpFoundation\\Response), Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#11 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#12 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php(91): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 2, false)\n#13 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener->onKernelException(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#14 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#15 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.exceptio...', Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent))\n#16 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...')\n#17 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(223): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent), 'kernel.exceptio...')\n#18 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(86): Symfony\\Component\\HttpKernel\\HttpKernel->handleThrowable(Object(Twig\\Error\\RuntimeError), Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#19 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Kernel.php(202): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#20 /home/□□□□□□/●●●●●.com/public_html/index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#21 {main}", previous: { class: Twig\Error\RuntimeError, message: 'An exception has been thrown during the rendering of a template ("The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue.").', code: 0, file: /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Resource/template/default/block.twig, line: 14, trace: "#0 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#1 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#2 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(390): Eccube\\Twig\\Template->display(Array)\n#3 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Extension/CoreExtension.php(1290): Twig\\Template->render(Array)\n#4 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Extension/IgnoreTwigSandboxErrorExtension.php(59): twig_include(Object(Twig\\Environment), Array, 'block.twig', Array, true, false, false)\n#5 /home/□□□□□□/●●●●●.com/public_html/var/cache/dev/twig/60/606a2968405ad3da686920b847802275.php(373): Eccube\\Twig\\Extension\\IgnoreTwigSandboxErrorExtension->twig_include(Object(Twig\\Environment), Array, 'block.twig', Array)\n#6 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_e78928597836ec00366868b72aef971a->doDisplay(Array, Array)\n#7 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#8 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#9 /home/□□□□□□/●●●●●.com/public_html/var/cache/dev/twig/64/64a25b032ba28eb334a5a86b05583873.php(55): Eccube\\Twig\\Template->display(Array, Array)\n#10 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_6727bdfa4c8f9a8f2f423aa369fdbfcf->doDisplay(Array, Array)\n#11 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#12 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#13 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(390): Eccube\\Twig\\Template->display(Array)\n#14 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/TemplateWrapper.php(45): Twig\\Template->render(Array, Array)\n#15 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Environment.php(318): Twig\\TemplateWrapper->render(Array)\n#16 /home/□□□□□□/●●●●●.com/public_html/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php(115): Twig\\Environment->render('index.twig', Array)\n#17 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener->onKernelView(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#18 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#19 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent))\n#20 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view')\n#21 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(168): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view')\n#22 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#23 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Kernel.php(202): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#24 /home/□□□□□□/●●●●●.com/public_html/index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#25 {main}", previous: { class: Doctrine\Migrations\Exception\MetadataStorageError, message: 'The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue.', code: 0, file: /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Exception/MetadataStorageError.php, line: 13, trace: "#0 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(237): Doctrine\\Migrations\\Exception\\MetadataStorageError::notUpToDate()\n#1 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/migrations/lib/Doctrine/Migrations/Metadata/Storage/TableMetadataStorage.php(82): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->checkInitialization()\n#2 /home/□□□□□□/●●●●●.com/public_html/vendor/doctrine/doctrine-migrations-bundle/Collector/MigrationsCollector.php(37): Doctrine\\Migrations\\Metadata\\Storage\\TableMetadataStorage->getExecutedMigrations()\n#3 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Profiler/Profiler.php(161): Doctrine\\Bundle\\MigrationsBundle\\Collector\\MigrationsCollector->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), NULL)\n#4 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/EventListener/ProfilerListener.php(108): Symfony\\Component\\HttpKernel\\Profiler\\Profiler->collect(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response), NULL)\n#5 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener->onKernelResponse(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#6 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#7 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent))\n#8 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#9 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(196): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ResponseEvent), 'kernel.response')\n#10 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(184): Symfony\\Component\\HttpKernel\\HttpKernel->filterResponse(Object(Symfony\\Component\\HttpFoundation\\Response), Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#11 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 2)\n#12 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(86): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 2, false)\n#13 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php(80): Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler::handle(Object(Symfony\\Component\\HttpKernel\\HttpKernel), Object(Symfony\\Component\\HttpFoundation\\Request), 2, false)\n#14 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Fragment/FragmentHandler.php(85): Symfony\\Component\\HttpKernel\\Fragment\\InlineFragmentRenderer->render('/block/search_p...', Object(Symfony\\Component\\HttpFoundation\\Request), Array)\n#15 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php(49): Symfony\\Component\\HttpKernel\\Fragment\\FragmentHandler->render('/block/search_p...', 'inline', Array)\n#16 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/twig-bridge/Extension/HttpKernelRuntime.php(46): Symfony\\Component\\HttpKernel\\DependencyInjection\\LazyLoadingFragmentHandler->render('/block/search_p...', 'inline', Array)\n#17 /home/□□□□□□/●●●●●.com/public_html/var/cache/dev/twig/cd/cd45defed74f703c5e14ee43e0ec63d8.php(57): Symfony\\Bridge\\Twig\\Extension\\HttpKernelRuntime->renderFragment('/block/search_p...')\n#18 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_151d452c5854f703d0b839a86475ff0c->doDisplay(Array, Array)\n#19 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#20 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#21 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(390): Eccube\\Twig\\Template->display(Array)\n#22 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Extension/CoreExtension.php(1290): Twig\\Template->render(Array)\n#23 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Extension/IgnoreTwigSandboxErrorExtension.php(59): twig_include(Object(Twig\\Environment), Array, 'block.twig', Array, true, false, false)\n#24 /home/□□□□□□/●●●●●.com/public_html/var/cache/dev/twig/60/606a2968405ad3da686920b847802275.php(373): Eccube\\Twig\\Extension\\IgnoreTwigSandboxErrorExtension->twig_include(Object(Twig\\Environment), Array, 'block.twig', Array)\n#25 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_e78928597836ec00366868b72aef971a->doDisplay(Array, Array)\n#26 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#27 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#28 /home/□□□□□□/●●●●●.com/public_html/var/cache/dev/twig/64/64a25b032ba28eb334a5a86b05583873.php(55): Eccube\\Twig\\Template->display(Array, Array)\n#29 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(405): __TwigTemplate_6727bdfa4c8f9a8f2f423aa369fdbfcf->doDisplay(Array, Array)\n#30 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(378): Twig\\Template->displayWithErrorHandling(Array, Array)\n#31 /home/□□□□□□/●●●●●.com/public_html/src/Eccube/Twig/Template.php(41): Twig\\Template->display(Array, Array)\n#32 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Template.php(390): Eccube\\Twig\\Template->display(Array)\n#33 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/TemplateWrapper.php(45): Twig\\Template->render(Array, Array)\n#34 /home/□□□□□□/●●●●●.com/public_html/vendor/twig/twig/src/Environment.php(318): Twig\\TemplateWrapper->render(Array)\n#35 /home/□□□□□□/●●●●●.com/public_html/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php(115): Twig\\Environment->render('index.twig', Array)\n#36 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php(117): Sensio\\Bundle\\FrameworkExtraBundle\\EventListener\\TemplateListener->onKernelView(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#37 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#38 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\\Component\\EventDispatcher\\EventDispatcher->callListeners(Array, 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent))\n#39 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php(154): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view')\n#40 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(168): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher->dispatch(Object(Symfony\\Component\\HttpKernel\\Event\\ViewEvent), 'kernel.view')\n#41 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#42 /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/http-kernel/Kernel.php(202): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#43 /home/□□□□□□/●●●●●.com/public_html/index.php(83): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#44 {main}", previous: null } } } --> extra: { url: /, ip: 123.456.789.01, http_method: GET, server: ●●●●●.com, referrer: null, user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36', file: /home/□□□□□□/●●●●●.com/public_html/vendor/symfony/error-handler/ErrorHandler.php, line: 584, class: Symfony\Component\ErrorHandler\ErrorHandler, callType: '->', function: handleException, uid: 1378e3c, user_id: N/A, session_id: '791e1150' } 考えられる原因等お分かりの方がいらっしゃればご教示ください。 よろしくお願いいたします。 |
k.nakayama |
投稿日時: 2023/12/20 17:13
対応状況: −−−
|
常連 登録日: 2019/10/11 居住地: 投稿: 66 |
Re: デバッグモードでエラーが出る .envでDATABASE_SERVER_VERSIONの値が別のサーバーのものになっていたりしませんか?
|
kanaboon |
投稿日時: 2023/12/21 17:13
対応状況: −−−
|
新米 登録日: 2023/12/14 居住地: 投稿: 6 |
Re: デバッグモードでエラーが出る >.envでDATABASE_SERVER_VERSIONの値が別のサーバーのものになっていたりしませんか?
ご連絡ありがとうございます。 確認しましたがDATABASE_SERVER_VERSIONに問題は無いようでした。 |
mcontact |
投稿日時: 2023/12/21 18:30
対応状況: −−−
|
神 登録日: 2022/1/22 居住地: 投稿: 1466 |
Re: デバッグモードでエラーが出る DATABASE_SERVER_VERSIONの設定値がどうなっているか記載できますか?
|
sw_sn |
投稿日時: 2023/12/27 19:15
対応状況: −−−
|
常連 登録日: 2018/5/25 居住地: 投稿: 49 |
Re: デバッグモードでエラーが出る 引用:
このエラーメッセージだけで判断すると、以下のコマンドを実行すれば解決できる可能性があります。(実行前にソースコード、DBのバックアップはしてください。) php bin/console doctrine:migrations:sync-metadata-storage または php bin/console doctrine:migrations:migrate prodとdevで動作が違う場合、経験上ではキャッシュまわりで問題が発生していることが多いです。prodではキャッシュファイルの生成とキャッシュファイルを参照しますが、devではキャッシュを生成せず実ファイルを参照するような動作になるためです。 |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |