<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[안녕하세요 오류메세지가 나와서요..]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/6126</link>
		<description><![CDATA[<p><strong style="line-height:1.6em;">Warning</strong><span style="line-height:1.6em;">: Creating default object from empty value in </span><strong style="line-height:1.6em;">E:WWWwordpresswp-contentpluginskboardclassKBoard.class.php</strong><span style="line-height:1.6em;"> on line </span><strong style="line-height:1.6em;">22</strong></p>

<p> </p>

<p><strong style="line-height:1.6em;">로그인 한 상태에서는 이 오류가 안나는데 로그아웃 한 상태에서는 위 오류가 게시판이랑 연동된 페이지 상단이랑</strong></p>

<p><strong style="line-height:1.6em;">전체 홈페이지 상단에 뜨고 있습니다.</strong></p>

<p> </p>

<p><strong style="line-height:1.6em;">어떻게 하면 해결할 수 있을까요?</strong></p>

<p> </p>

<p> </p>

<p> </p>
]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[FTP로 접속해서 /kboard/class/KBoard.class.php 파일을 수정해주세요.

public function __construct($...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/6135</link>
			<description><![CDATA[<p>FTP로 접속해서 /kboard/class/KBoard.class.php 파일을 수정해주세요.</p>

<p>public function __construct($id='') 이쪽 내용을 변경해주세요.</p>

<p>아래는 최신 소스코드입니다.</p>

<p><a href="https://github.com/cosmosfarm/KBoard-wordpress-plugin/blob/master/plugins/kboard/class/KBoard.class.php" target="_blank">https://github.com/cosmosfarm/KBoard-wordpress-plugin/blob/master/plugins/kboard/class/KBoard.class.php</a></p>

<p>(최신 소스코드를 참고해서) 아래 코드로 KBoard.class.php 파일 내용을 변경해서 테스트 해주세요.</p>

<p>public function __construct($id=''){<br />
        global $user_ID;<br />
        $this-&gt;row = new stdClass();<br />
        $this-&gt;userdata = $user_ID?get_userdata($user_ID):new stdClass();<br />
        if(!isset($this-&gt;userdata-&gt;roles)) $this-&gt;userdata-&gt;roles = array();<br />
        if(!isset($this-&gt;userdata-&gt;data)) $this-&gt;userdata-&gt;data = new stdClass();<br />
        if(!isset($this-&gt;userdata-&gt;data-&gt;ID)) $this-&gt;userdata-&gt;data-&gt;ID = '';<br />
        if(!isset($this-&gt;userdata-&gt;data-&gt;user_login)) $this-&gt;userdata-&gt;data-&gt;user_login = '';<br />
        if($id) $this-&gt;setID($id);<br />
}</p>
]]></description>
			<author>스레드봇</author>
			<pubDate>Tue, 28 Jul 2015 02:12:28 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>