バージョン選択

フォーラム

メニュー

オンライン状況

48 人のユーザが現在オンラインです。 (34 人のユーザが フォーラム を参照しています。)
登録ユーザ: 1
ゲスト: 47
a-zumi もっと...

サイト内検索

質問 > 管理機能 > タグIDで条件分岐

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
nanase
投稿日時: 2021/4/19 23:20
対応状況: −−−
新米
登録日: 2021/4/18
居住地:
投稿: 3
Re: タグIDで条件分岐
tsuji様
ご回答ありがとうございます。
仰る通り「限定品ではありません」が表示されています。
(キャッシュは管理画面からクリアしており、sshでもコマンドでクリアしてあります。)

デバッグモードで開いてみましたが申し訳ありませんが見方が分からないです。
hasTagというプロパティのメソッドが存在しないと書いてあるのは分かるのですがどこを直せば良いのかが分かりません。
内容を記載するのでご助言頂けると大変助かります。
よろしくお願いいたします。

▼RuntimeError(line 389)

389行目 {% if Product.hasTag(3) %}

// line 389
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 389, $this->source); })()), "hasTag", [0 => 3], "method", false, false, false, 389)) {

Twig\Error\RuntimeError:
Neither the property "hasTag" nor one of the methods "hasTag()", "gethasTag()"/"ishasTag()"/"hashasTag()" or "__call()" exist and have public access in class "Eccube\Entity\Product".

▼Logsのページ

INFO
php
User Deprecated: The "base_template_class" option on Twig\Environment is deprecated since Twig 2.7.0.

INFO
php
User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.

INFO
php
User Deprecated: The type "datetime" was implicitly marked as commented due to the configuration. This is deprecated and will be removed in DoctrineBundle 2.0. Either set the "commented" attribute in the configuration to "false" or mark the type as commented in "Eccube\Doctrine\DBAL\Types\UTCDateTimeType::requiresSQLCommentHint()."

INFO
php
User Deprecated: The type "datetimetz" was implicitly marked as commented due to the configuration. This is deprecated and will be removed in DoctrineBundle 2.0. Either set the "commented" attribute in the configuration to "false" or mark the type as commented in "Eccube\Doctrine\DBAL\Types\UTCDateTimeTzType::requiresSQLCommentHint()."
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   タグIDで条件分岐 nanase 2021/4/18 7:29
     Re: タグIDで条件分岐 tsuji 2021/4/19 9:35
     » Re: タグIDで条件分岐 nanase 2021/4/19 23:20
         Re: タグIDで条件分岐 tsuji 2021/4/21 9:29
           Re: タグIDで条件分岐 nanase 2021/4/21 10:36

 



ログイン


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

統計情報

総メンバー数は89,108名です
総投稿数は110,039件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1649
8
red
1570
9
mcontact
1298
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
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.