<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Warning: Undefined variable $tagが発生する - 不具合報告				            </title>
            <link>https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Wed, 22 Apr 2026 08:07:40 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Warning: Undefined variable $tagが発生する</title>
                        <link>https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74438</link>
                        <pubDate>Fri, 06 Oct 2023 06:46:28 +0000</pubDate>
                        <description><![CDATA[ご返答ありがとうございますm(__)m
ご指摘いただいた場所を修正してみます。]]></description>
                        <content:encoded><![CDATA[<p>ご返答ありがとうございますm(__)m</p>
<p>ご指摘いただいた場所を修正してみます。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>yu0327</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74438</guid>
                    </item>
				                    <item>
                        <title>RE: Warning: Undefined variable $tagが発生する</title>
                        <link>https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74437</link>
                        <pubDate>Fri, 06 Oct 2023 04:29:11 +0000</pubDate>
                        <description><![CDATA[1つめしか見ていませんが、以下のようなメッセージが表示されているようです。

Warning: Undefined variable $tag in /home/gold0ship/akiya--saisei.com/public_html/wp-content/themes/cocoon-child-master/functions.php on line 65Warni...]]></description>
                        <content:encoded><![CDATA[<p>1つめしか見ていませんが、以下のようなメッセージが表示されているようです。</p>
<blockquote>
<p><strong>Warning</strong><span>: Undefined variable $tag in </span><strong>/home/gold0ship/akiya--saisei.com/public_html/wp-content/themes/cocoon-child-master/functions.php</strong><span> on line </span><strong>65</strong><br /><br /><strong>Warning</strong><span>: Undefined variable $tag in </span><strong>/home/gold0ship/akiya--saisei.com/public_html/wp-content/themes/cocoon-child-master/functions.php</strong><span> on line </span><strong>42</strong></p>
</blockquote>
<div id="wpfa-36290" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="Screenshot_20231006-132645.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1696566551-Screenshot_20231006-132645.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> Screenshot_20231006-132645.png</a></div>
<div> </div>
<div>メッセージ中にあるように、子テーマのfunctions.phpの問題かと思います。（65行目と42行目）</div>
<div> </div>
<div>$tagが未定義、値が入っていないのかもしれないです、</div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>ｍｋ２</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74437</guid>
                    </item>
				                    <item>
                        <title>Warning: Undefined variable $tagが発生する</title>
                        <link>https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74434</link>
                        <pubDate>Fri, 06 Oct 2023 03:10:48 +0000</pubDate>
                        <description><![CDATA[こんにちは。
「Warning: Undefined variable $tag」の問題解決方法が分かりません。
発生するページは以下の２つです


原因を調べるとタイムラインを入れているページに、Warning: Undefined variable $tagが発生していることが分かりました。
（タイムラインはcocoonのものではなく、他サイトのcssを参考にしてい...]]></description>
                        <content:encoded><![CDATA[<p>こんにちは。</p>
<p>「<strong>Warning</strong><span>: Undefined variable $tag</span>」の問題解決方法が分かりません。</p>
<p>発生するページは以下の２つです</p>
<p>・https://akiya--saisei.com/profile/</p>
<p>・https://akiya--saisei.com/utilization-of-vacant-houses/</p>
<p>原因を調べるとタイムラインを入れているページに、Warning: Undefined variable $tagが発生していることが分かりました。</p>
<p>（タイムラインはcocoonのものではなく、他サイトのcssを参考にしています。）</p>
<p>しかしこれ以上の原因は分かりませんでした。</p>
<p>タイムラインのCSSに原因があるのでしょうか？ご教授いただけますと幸いです。</p>
<p>よろしくお願いしますm(__)m</p>
<pre contenteditable="false">/*********************************
* タイムライン マーカー
*********************************/
.ptimeline-wrap .ptimeline-marker{
    display: block;
    position: absolute;
    content: "";
    top: 6px;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: solid 3px #5c98ac;
}
.ptimeline-wrap .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .ptimeline-item:last-child .ptimeline-marker{
    background:#5c98ac;
}
/*四角 */
.ptimeline-wrap .square .ptimeline-marker{
    border-radius: 0;
}
/* アイコン*/
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker{
    content:unset;
    border:none !important;
    background:none !important;
}
.ptimeline-wrap .icon .ptimeline-item .ptimeline-marker:before{
    font-family: "Font Awesome 5 Free";
    top: -1px;
    left: 0;
    position:absolute;
    font-weight:bold;
    font-size:16px;
    line-height:1;
    color:#00bfff;
}
.ptimeline-wrap .icon .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .icon .ptimeline-item:last-child .ptimeline-marker{
    background:none !important;
}
/* 画像*/
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker{
    content:unset;
    border:none !important;
    background:none !important;
}
.ptimeline-wrap .tl-img .ptimeline-item .ptimeline-marker:before {
    content:"";
    display:inline-block;
    background-image:url(ここに画像URL); /* 画像1番目*/
    background-size:contain;
    background-repeat:no-repeat;
    width:40px;
    height:40px;
    position: relative;
    top: -4px;
    left: -2px;
}
.ptimeline-wrap .tl-img li:nth-of-type(2) &gt; .ptimeline-marker:before{
    background-image:url(ここに画像URL) !important; /* 画像2番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(3) &gt; .ptimeline-marker:before{
    background-image:url(ここに画像URL) !important; /* 画像3番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(4) &gt; .ptimeline-marker:before{
    background-image:url(ここに画像URL) !important; /* 画像4番目*/
}
.ptimeline-wrap .tl-img li:nth-of-type(5) &gt; .ptimeline-marker:before{
    background-image:url(ここに画像URL) !important; /* 画像5番目*/
}
.ptimeline-wrap .tl-img .ptimeline-item {
    padding: 0 0 1em 3em !important;
}
.ptimeline-wrap .tl-img .ptimeline-item:before {
    top: 30px;
    left: 15px;
}
/*********************************
* タイムライン カラー
*********************************/
/* ピンク */
.ptimeline-wrap .pink .ptimeline-title{
    color:#f7bcbc !important; /* タイトル色 */
}
.ptimeline-wrap .pink .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .pink .ptimeline-marker{
    border: solid 3px #f7bcbc !important; /* マーカー色 */
    color:#f7bcbc; /* アイコン色 */
}
.ptimeline-wrap .pink .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .pink .ptimeline-item:last-child .ptimeline-marker{
    background:#f7bcbc; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .pink .ptimeline-item .ptimeline-marker:before{
    color:#f7bcbc !important; /* アイコン色 */
}
/*イエロー*/
.ptimeline-wrap .yellow .ptimeline-title{
    color:#fdc44f !important; /* タイトル色 */
}
.ptimeline-wrap .yellow .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .yellow .ptimeline-marker{
    border: solid 3px #fdc44f !important; /* マーカー色 */
    color:#fdc44f; /* アイコン色 */
}
.ptimeline-wrap .yellow .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .yellow .ptimeline-item:last-child .ptimeline-marker{
    background:#fdc44f; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .yellow .ptimeline-item .ptimeline-marker:before{
    color:#fdc44f !important; /* アイコン色 */
}
/*グリーン*/
.ptimeline-wrap .green .ptimeline-title{
    color:#2fcdb4 !important; /* タイトル色 */
}
.ptimeline-wrap .green .ptimeline-main{
    color:#555 !important; /* コンテンツ色 */
}
.ptimeline-wrap .green .ptimeline-marker{
    border: solid 3px #2fcdb4 !important; /* マーカー色 */
    color:#2fcdb4; /* アイコン色 */
}
.ptimeline-wrap .green .ptimeline-item:first-child .ptimeline-marker,.ptimeline-wrap .green .ptimeline-item:last-child .ptimeline-marker{
    background:#2fcdb4; /* マーカー色(最初と最後)*/
}
.ptimeline-wrap .green .ptimeline-item .ptimeline-marker:before{
    color:#2fcdb4 !important; /* アイコン色 */
}</pre>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>yu0327</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/warning-undefined-variable-tag%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%99%e3%82%8b/#post-74434</guid>
                    </item>
							        </channel>
        </rss>
		