質問 > フロント機能 > 3.0 関連商品プラグインに関するシステムエラー |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
maruchoi |
投稿日時: 2016/10/31 17:15
対応状況: −−−
|
新米 登録日: 2016/10/31 居住地: 投稿: 8 |
3.0 関連商品プラグインに関するシステムエラー 関連商品プラグインを使用しており、
関連商品を追加した商品のページにのみ、 以下のようなシステムエラーが出てきます。 Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("Entity was not found.") in "RelatedProduct/Resource/template/Front/related_product.twig" at line 8. (uncaught exception) at /home/perfumeoil/www/ec/vendor/twig/twig/lib/Twig/Template.php line 396 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Entity was not found.\") in \"RelatedProduct/Resource/template/Front/related_product.twig\" at line 8. at /home/perfumeoil/www/ec/vendor/twig/twig/lib/Twig/Template.php:396, Doctrine\\ORM\\EntityNotFoundException(code: 0): Entity was not found. at /home/perfumeoil/www/ec/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php:177)"} [ 解決方法が分からず困っており、 助言いただけますとありがたいです..! == ■ 「related_product.twig」の8行目は、以下が書いてあります。 <a href="{{ url('product_detail', {id : RelatedProduct.ChildProduct.id}) }}" class="item_photo"> ■ 「Template.php」の396行目は、以下です。 throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getTemplateName(), $e); よろしくお願いいたします。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» 3.0 関連商品プラグインに関するシステムエラー | maruchoi | 2016/10/31 17:15 |
Re: 3.0 関連商品プラグインに関するシステムエラー | tao_s | 2016/11/2 7:56 |
Re: 3.0 関連商品プラグインに関するシステムエラー | maruchoi | 2016/11/14 12:02 |