質問 > フロント機能 > フロント表示でシステムエラー |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
h_tanaka |
投稿日時: 2018/12/4 10:23
対応状況: −−−
|
神 登録日: 2016/7/22 居住地: 愛媛県 投稿: 1638 オンライン |
フロント表示でシステムエラー EC-CUBE3.0.15
本番環境から検証環境を作成しました。 管理画面の表示は問題なかったのですが、フロントでシステムエラーが発生しました。 なぜかデバッグモードではエラーが発生しませんでした。 エラーログを見たところ、エラーの原因となる処理がキャッシュファイル内にあったので、そこをコメントアウトすると正常に表示されるようになりました。 しかしキャッシュファイルの修正なので当然ながらキャッシュを削除するとエラーが再発してしまいます。 エラーを根本解決するには、どのソースを修正すればよいでしょうか? ■修正ソース app/cache/twig/production/08211630/8f/8f7e278b2f5f3cb908d3a530656c85468ac63908e9efb244687643c6984f1a21.php
■エラーログ [2018-12-04 09:59:07,118326] front.ERROR [d2a562c6] [fa289ec1] [NULL] [EccubeExceptionHandler:handle:44] - Attempted to load class "ConfigCacheFactory" from namespace "Symfony\Component\Config". Did you forget a "use" statement for another namespace? [{"namespace":"","short_class":"","class":"","type":"","function":"","file":"/home/toebisu729/public_html/test/vendor/symfony/translation/Translator.php","line":476,"args":[]},{"namespace":"Symfony\\Component\\Translation","short_class":"Translator","class":"Symfony\\Component\\Translation\\Translator","type":"->","function":"getConfigCacheFactory","file":"/home/toebisu729/public_html/test/vendor/symfony/translation/Translator.php","line":323,"args":[]},{"namespace":"Symfony\\Component\\Translation","short_class":"Translator","class":"Symfony\\Component\\Translation\\Translator","type":"->","function":"initializeCacheCatalogue","file":"/home/toebisu729/public_html/test/vendor/symfony/translation/Translator.php","line":290,"args":[["string","ja"]]},{"namespace":"Symfony\\Component\\Translation","short_class":"Translator","class":"Symfony\\Component\\Translation\\Translator","type":"->","function":"loadCatalogue","file":"/home/toebisu729/public_html/test/vendor/symfony/translation/Translator.php","line":248,"args":[["string","ja"]]},{"namespace":"Symfony\\Component\\Translation","short_class":"Translator","class":"Symfony\\Component\\Translation\\Translator","type":"->","function":"getCatalogue","file":"/home/toebisu729/public_html/test/vendor/symfony/translation/Translator.php","line":209,"args":[["string","ja"]]},{"namespace":"Symfony\\Component\\Translation","short_class":"Translator","class":"Symfony\\Component\\Translation\\Translator","type":"->","function":"trans","file":"/home/toebisu729/public_html/test/vendor/symfony/twig-bridge/Extension/TranslationExtension.php","line":93,"args":[["string","全ての商品"],["array",[]],["string","messages"],["null",null]]},{"namespace":"Symfony\\Bridge\\Twig\\Extension","short_class":"TranslationExtension","class":"Symfony\\Bridge\\Twig\\Extension\\TranslationExtension","type":"->","function":"trans","file":"/home/toebisu729/public_html/test/app/cache/twig/production/08211630/8f/8f7e278b2f5f3cb908d3a530656c85468ac63908e9efb244687643c6984f1a21.php","line":286,"args":[["string","全ての商品"],["array",[]],["null",null]]},{"namespace":"","short_class":"__TwigTemplate_c56c634b8a36f6f4dc990a76258c146ff950bb49f9437db87d4696ecbda8b03f","class":"__TwigTemplate_c56c634b8a36f6f4dc990a76258c146ff950bb49f9437db87d4696ecbda8b03f","type":"->","function":"block_choice_widget_collapsed","file":"/home/toebisu729/public_html/test/vendor/twig/twig/lib/Twig/Template.php","line":215,"args":[["array",{"value":["string",""],"attr":["array",{"class":["string","form-control"]}],"form":["object","Symfony\\Component\\Form\\FormView"],"id":["string","category_id"],"name":["string","category_id"],"full_name":["string","category_id"],"disabled":["boolean",false],"label":["string","商品カテゴリから選ぶ"],"label_format":["null",null],"multipart":["boolean",false],"block_prefixes":["array",[["string","form"],["string","choice"],["string","entity"],["string","_category_id"]]],"unique_block_prefix":["string","_category_id"],"translation_domain":["null",null],"cache_key":["string","_category_id_entity"],"read_only":["boolean",false],"errors":["object","Symfony\\Component\\Form\\FormErrorIterator"],"valid":["boolean",true],"data":["null",null],"required":["boolean",false],"max_length":["null",null],"pattern":["null",null],"size":["null",null],"label_attr":["array",[]],"compound":["boolean",false],"method":["string","POST"],"action":["string",""],"submitted":["boolean",false],"help":["null",null],"freeze":["boolean",false],"freeze_display_text":["boolean",true],"multiple":["boolean",false],"expanded":["boolean",false],"preferred_choices":["array",[]],"choices":["array",{"20":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"26":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"48":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"64":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"66":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"65":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"11":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"33":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"58":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"34":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"70":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"71":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"72":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"8":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"63":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"76":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"77":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"68":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"28":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"57":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"74":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"73":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"67":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"85":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"22":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"80":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"31":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"32":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"36":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"69":["object","Symfony\\Component\\Form\\ChoiceList\\View\\ChoiceView"],"84": ...(後略) |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» フロント表示でシステムエラー | h_tanaka | 2018/12/4 10:23 |