質問 > フロント機能 > 商品詳細画面で Twig_Error_Runtimeエラー |
フロント機能
スレッド表示 | 古いものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
be-s |
投稿日時: 2018/7/3 12:09
対応状況: 確認中
|
一人前 登録日: 2016/2/2 居住地: São Paulo 投稿: 115 |
商品詳細画面で Twig_Error_Runtimeエラー ▼テンプレート
[EC-CUBE] 3.0.15、アップデート [レンタルサーバ] heteml [OS] Linux [PHP] PHP7.0.15 [データベース] mysql [WEBサーバ] apache [ブラウザ] chrome [現象] マイグレーションでバージョンアップ後に 商品詳細画面で「Twig_Error_Runtime in Template.php」エラーが出るようになりました。 下記エラーが出る商品と出ない商品があります。 index_dev.php で下記のようにエラーが出ています。 INFO - INIT INFO - Matched route "product_detail". Context: {"route_parameters":{"_controller":"\\Eccube\\Controller\\ProductController::detail","id":"86","_route":"product_detail"},"request_uri":"https://tuscans.jp/version/index_dev.php/products/detail/86"} INFO - PROCESS START Context: ["product_detail"] INFO - > GET /version/index_dev.php/products/detail/86 INFO - LOGIC START Context: ["product_detail"] INFO - RelatedProduct trigger onRenderProductDetail start INFO - Matched route "block_cart". Context: {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\CartController::index","_route":"block_cart"},"request_uri":"https://tuscans.jp/version/index_dev.php/block/cart"} INFO - Matched route "block_search_product". Context: {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\SearchProductController::index","_route":"block_search_product"},"request_uri":"https://tuscans.jp/version/index_dev.php/block/search_product"} INFO - Matched route "block_search_product". Context: {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\SearchProductController::index","_route":"block_search_product"},"request_uri":"https://tuscans.jp/version/index_dev.php/block/search_product"} ERROR - Twig_Error_Runtime: Impossible to access an attribute ("name") on a null variable in "__string_template__145241d7f06de1fe5e76364374a678775a72fbf53ce0bfc85799d5dea9414d52" at line 358. (uncaught exception) at /home/sites/heteml/users/t/u/s/tuscans/web/tuscans.jp/version/vendor/twig/twig/lib/Twig/Template.php line 556 Context: {"exception":"Exception(Twig_Error_Runtime): Impossible to access an attribute (\"name\") on a null variable in \"__string_template__145241d7f06de1fe5e76364374a678775a72fbf53ce0bfc85799d5dea9414d52\" at line 358."} CRITICAL - Twig_Error_Runtime: Impossible to access an attribute ("name") on a null variable in "__string_template__145241d7f06de1fe5e76364374a678775a72fbf53ce0bfc85799d5dea9414d52" at line 358. (uncaught exception) at /home/sites/heteml/users/t/u/s/tuscans/web/tuscans.jp/version/vendor/twig/twig/lib/Twig/Template.php line 556 Context: {"exception":"Exception(Twig_Error_Runtime): Impossible to access an attribute (\"name\") on a null variable in \"__string_template__145241d7f06de1fe5e76364374a678775a72fbf53ce0bfc85799d5dea9414d52\" at line 358."} INFO - LOGIC END Context: ["product_detail"] INFO - < 500 INFO - PROCESS END Context: ["product_detail"] お手数なのですが原因分かりますでしょうか? どうか宜しくお願い致します。 |
スレッド表示 | 古いものから | 前のトピック | 次のトピック | トップ |