バージョン選択

フォーラム

メニュー

オンライン状況

58 人のユーザが現在オンラインです。 (50 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 58
もっと...

サイト内検索

質問 > フロント機能 > 商品詳細画面で 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"]

お手数なのですが原因分かりますでしょうか?
どうか宜しくお願い致します。
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,291名です
総投稿数は109,691件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1568
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.