묻고답하기

 

Fatal error: Cannot use object of type stdClass as array in

 

html/xe/files/cache/template_compiled/2fc687ffa284111eb115d09a9d016d8d.compiled.php on line 8

 

게시물에 댓글만 달면 멀쩡하던 게시글 본문이 안 뜨면서 저 위의 메세지가 뜨는 오류가 나는데요

뭘 수정해야 하는 건가요?ㅠㅠ 뭐가 문제인지 도통 모르겠네요 아시는 분 답변 부탁드릴게요

 

 

열어본 해당 파일 내용은 이렇습니다ㅠㅠ

 

 

<?php if(!defined("__XE__"))exit;?> <?php 
 $__Context->oDB = &DB::getInstance();
 $__Context->query = $__Context->oDB->_query('select regdate from xe_comments where document_srl = '.$__Context->document_srl);
 $__Context->result = $__Context->oDB->_fetch($__Context->query);
 $__Context->no = array();
 ?>
<?php for($__Context->i=0;$__Context->i<count($__Context->result);$__Context->i++){ ?>
<?php  $__Context->no[] = $__Context->result[$__Context->i]->regdate ?>
<?php } ?>
<?php  sort($__Context->no) ?>
<?php if($__Context->mi->fdb_style=='fdb_v2' && $__Context->mi->default_style!='guest'){ ?><a class="nametag ui_font bubble" href="#" onclick="jQuery(this).nextAll('ul,.bd_pg').slideToggle();return false" title="Click! <?php echo $__Context->lang->comment ?> <?php echo $__Context->lang->cmd_view ?>~"><strong class="bg_color bx_shadow">Comment <b>'<?php echo $__Context->oDocument->getCommentcount() ?>'</b></strong></a><?php } ?>
<?php if($__Context->oDocument->getCommentcount()){ ?>
<?php if(!$__Context->mi->fdb_style){ ?><div class="fdb_tag<?php if($__Context->mi->cmt_wrt_position=='cmt_wrt_btm'){ ?> bg_f_f9 css3pie<?php } ?>">
    <a class="ui_font bubble" href="#" onclick="jQuery(this).parent().nextAll('ul,.bd_pg').slideToggle();return false" title="<?php echo $__Context->lang->comment ?> <?php echo $__Context->lang->cmd_view ?>">Comments <b>'<?php echo $__Context->oDocument->getCommentcount() ?>'</b></a>
</div><?php } ?>
<ul class="fdb_lst_ul <?php echo $__Context->mi->fdb_hide ?>">
    <?php if($__Context->oDocument->getComments()&&count($__Context->oDocument->getComments()))foreach($__Context->oDocument->getComments() as $__Context->key=>$__Context->comment){ ?>
<?php if($__Context->comment->get('depth')){ ?>
    <li id="comment_<?php echo $__Context->comment->comment_srl ?>" class="fdb_itm clear re bg<?php echo ($__Context->comment->get('depth'))%2 ?>" style="margin-left:<?php echo (($__Context->comment->get('depth')-1)%10+1)*2 ?>%">
        <i class="fa fa-share fa-flip-vertical re"></i><?php if($__Context->comment->get('depth')>10){ ?><i class="fa fa-share fa-flip-vertical re rere"></i><?php } ?>
<?php }else{ ?>
    <li id="comment_<?php echo $__Context->comment->comment_srl ?>" class="fdb_itm clear">
<?php } ?>
        
        <?php if(!$__Context->mi->profile_img){ ?>
        <?php if($__Context->comment->getProfileImage()){ ?><img class="profile img" src="<?php echo $__Context->comment->getProfileImage() ?>" alt="profile" /><?php } ?>
        <?php if(!$__Context->comment->getProfileImage()){ ?><span class="profile img no_img">?</span><?php } ?>
        <?php } ?>
<?php if($__Context->no&&count($__Context->no))foreach($__Context->no as $__Context->k=>$__Context->v){;
if($__Context->v==$__Context->comment->get('regdate')){ ?>
<?php  $__Context->k++ ?>
<? break ?>
<?php }} ?>
<div class="meta">익명<?php echo $__Context->k ?>
            <?php if($__Context->comment->member_srl){ ?><a href="#popup_menu_area" class="member_<?php echo $__Context->comment->member_srl ?>" onclick="return false"></a><?php } ?>
            <?php if(!$__Context->comment->member_srl && $__Context->comment->homepage){ ?><a href="<?php echo $__Context->comment->getHomepageUrl() ?>" target="_blank"><?php echo $__Context->comment->getNickName() ?></a><?php } ?>
            <?php if(!$__Context->comment->member_srl && !$__Context->comment->homepage){ ?><b><?php echo $__Context->comment->getNickName() ?></b><?php } ?>
            <span class="date"><?php echo getTimeGap($__Context->comment->get('regdate'), "Y.m.d H:i") ?></span>
            <?php if($__Context->grant->manager || $__Context->mi->display_ip_address){ ?><small class="m_no">(<?php echo $__Context->comment->getIpaddress() ?>)</small><?php } ?>
            <?php if($__Context->comment->isSecret()){ ?><span class="ico_secret">SECRET</span><?php } ?>
            
            <?php if($__Context->comment->hasUploadedFiles()){ ?>
            <a class="tg_btn2" href="#files_<?php echo $__Context->comment->comment_srl ?>"><b class="ui-icon ui-icon-disk">Files</b><?php echo $__Context->lang->uploaded_file ?> <small>(<?php echo $__Context->comment->get('uploaded_count') ?>)</small></a>
            <div id="files_<?php echo $__Context->comment->comment_srl ?>" class="cmt_files tg_cnt2">
                <button type="button" class="tg_blur2"></button><button type="button" class="tg_close2" title="<?php echo $__Context->lang->cmd_close ?>"><b class="ui-icon ui-icon-closethick">X</b></button>
                <ul class="wrp">
                    <?php if($__Context->comment->getUploadedFiles()&&count($__Context->comment->getUploadedFiles()))foreach($__Context->comment->getUploadedFiles() as $__Context->key=>$__Context->file){ ?><li><em>•</em> <a class="bubble" href="<?php echo getUrl('');
echo $__Context->file->download_url ?>" title="[File Size:<?php echo FileHandler::filesize($__Context->file->file_size) ?>/Download:<?php echo number_format($__Context->file->download_count) ?>]"><?php echo $__Context->file->source_filename ?></a></li><?php } ?>
                </ul>
                <button type="button" class="tg_blur2"></button>
            </div>
            <?php } ?>
        </div>
        
        <?php if(!$__Context->comment->isAccessible()){ ?>
        <form action="./" method="get" onsubmit="return procFilter(this, input_password)"><input type="hidden" name="error_return_url" value="<?php echo htmlspecialchars(getRequestUriByServerEnviroment(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false) ?>" /><input type="hidden" name="act" value="<?php echo $__Context->act ?>" /><input type="hidden" name="vid" value="<?php echo $__Context->vid ?>" />
            <input type="hidden" name="mid" value="<?php echo $__Context->mid ?>" />
            <input type="hidden" name="page" value="<?php echo $__Context->page ?>" />
            <input type="hidden" name="document_srl" value="<?php echo $__Context->comment->get('document_srl') ?>" />
            <input type="hidden" name="comment_srl" value="<?php echo $__Context->comment->get('comment_srl') ?>" />
            <p>"<?php echo $__Context->lang->msg_is_secret ?>"</p>
            <span class="itx_wrp">
                <label for="cpw_<?php echo $__Context->comment->comment_srl ?>"><?php echo $__Context->lang->password ?></label>
                <input type="password" id="cpw_<?php echo $__Context->comment->comment_srl ?>" name="password" class="itx" />
                <input type="submit" value="<?php echo $__Context->lang->cmd_input ?>" class="bd_btn" />
            </span>
        </form>
        <?php }else{ ?>
        <?php echo $__Context->comment->getContent(false) ?>
        <?php } ?>
        
        <div class="fdb_nav img_tx">
            <?php if($__Context->mi->cmt_this_btn=='2' && $__Context->is_logged){ ?>
            <a href="#" onclick="doCallModuleAction('comment','procCommentDeclare','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-phone"></i><?php echo $__Context->lang->cmd_declare ?></a>
            <a href="#" onclick="doCallModuleAction('comment','procCommentVoteUp','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-heart color"></i><?php echo $__Context->lang->cmd_vote ?></a>
            <?php if(!$__Context->mi->cmt_vote_down){ ?><a href="#" onclick="doCallModuleAction('comment','procCommentVoteDown','<?php echo $__Context->comment->comment_srl ?>');return false"><i class="fa fa-heart"></i><?php echo $__Context->lang->cmd_vote_down ?></a><?php } ?>
            <?php } ?>
            <?php if((!$__Context->mi->cmt_this_btn && $__Context->is_logged) || $__Context->grant->manager){ ?><a class="comment_<?php echo $__Context->comment->comment_srl ?> m_no" href="#popup_menu_area" onclick="return false"><i class="fa fa-ellipsis-h"></i><?php echo $__Context->lang->cmd_comment_do ?></a><?php } ?>
            <?php if($__Context->comment->isGranted() || !$__Context->comment->get('member_srl')){ ?>
            <a href="<?php echo getUrl('act','dispBoardModifyComment','comment_srl',$__Context->comment->comment_srl) ?>"><i class="fa fa-pencil"></i><?php echo $__Context->lang->cmd_modify ?></a>
            <a href="<?php echo getUrl('act','dispBoardDeleteComment','comment_srl',$__Context->comment->comment_srl) ?>"><i class="fa fa-eraser"></i><?php echo $__Context->lang->cmd_delete ?></a>
            <?php } ?>
            <?php if($__Context->oDocument->allowComment()){ ?><a class="re_comment" href="<?php echo getUrl('act','dispBoardReplyComment','comment_srl',$__Context->comment->comment_srl) ?>" onclick="<?php if(!$__Context->grant->write_comment || !$__Context->oDocument->isEnableComment()){ ?>alert('<?php echo $__Context->lang->msg_not_permitted ?>')<?php }else{ ?>reComment(<?php echo $__Context->comment->get('document_srl') ?>,<?php echo $__Context->comment->get('comment_srl') ?>,'<?php echo getUrl('act','dispBoardReplyComment','comment_srl',$__Context->comment->comment_srl) ?>')<?php } ?>;return false;"><i class="fa fa-comment"></i> <?php echo $__Context->lang->cmd_reply ?></a><?php } ?>
            
            <?php if($__Context->mi->cmt_vote!='N' && ($__Context->mi->cmt_vote=='2' || $__Context->comment->get('voted_count')!=0 || $__Context->comment->get('blamed_count')!=0)){ ?><span class="vote ui_font">
                <a class="bd_login" href="#"<?php if($__Context->is_logged){ ?> onclick="doCallModuleAction('comment','procCommentVoteUp','<?php echo $__Context->comment->comment_srl ?>');return false"<?php } ?> title="<?php echo $__Context->lang->cmd_vote ?>"><em><i class="fa fa-heart color"></i> <?php echo $__Context->comment->get('voted_count')?$__Context->comment->get('voted_count'):0 ?></em></a>
                <?php if(!$__Context->mi->cmt_vote_down){ ?><a class="bd_login" href="#"<?php if($__Context->is_logged){ ?> onclick="doCallModuleAction('comment','procCommentVoteDown','<?php echo $__Context->comment->comment_srl ?>');return false"<?php } ?> title="<?php echo $__Context->lang->cmd_vote_down ?>"><i class="fa fa-heart"></i> <?php echo abs($__Context->comment->get('blamed_count')?$__Context->comment->get('blamed_count'):0) ?></a><?php } ?>
            </span><?php } ?>
        </div>
    </li>
    <?php } ?>
</ul>
<?php if($__Context->oDocument->comment_page_navigation){ ?>
<div class="bd_pg clear <?php echo $__Context->mi->fdb_hide ?>">
    <a href="<?php echo getUrl('cpage',1) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment" class="direction" title="<?php echo $__Context->lang->first_page ?>"><i class="fa fa-angle-double-left"></i> <span>First</span></a>
    <?php while($__Context->page_no=$__Context->oDocument->comment_page_navigation->getNextPage()){ ?>
        <?php if($__Context->cpage==$__Context->page_no){ ?><strong class="this"><?php echo $__Context->page_no ?></strong><?php } ?> 
        <?php if($__Context->cpage!=$__Context->page_no){ ?><a href="<?php echo getUrl('cpage',$__Context->page_no) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment"><?php echo $__Context->page_no ?></a><?php } ?>
    <?php } ?>
    <a href="<?php echo getUrl('cpage',$__Context->oDocument->comment_page_navigation->last_page) ?>#<?php echo $__Context->oDocument->get('document_srl') ?>_comment" class="direction" title="<?php echo $__Context->lang->last_page ?>"><span>Last</span> <i class="fa fa-angle-double-right"></i></a>
</div>
<?php } ?>
<?php } ?>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
귀여운유니 100일이 지난 게시글 조회시 포인트 차감 안되게 하는 방법 [1] 2015.04.05 by 귀여운유니
좋은데이 어떤문제인지 한번 봐 주세요, [2] 2015.04.05 by 좋은데이
쿨럭이 해외서버 추천좀 부탁드려봅니다. [4] 2015.04.05 by 기진곰
XE모듈 스케치북 게시판 갤러리형 no image 라고 나오는 문제 질문합니다 [3] 2015.04.05 by criuce
뮤르시엘라고 이미지가 사이즈가 좀 크면 no image로 인식해요 (썸네일) [1] 2015.04.05 by criuce
newi 레이아웃 생성하고 설정보면.. 비여 있어요 [1] 2015.04.05 by newi
이주현376a7 게시판 자동비밀글 설정 [2] 2015.04.05 by mr33
mr33 확장변수 관련 여쭤봅니다... [2] file 2015.04.05 by mr33
이처리 게시글 추가 내용 출력 위치 변경 질문 [2] 2015.04.05 by 이처리
lihbingo 게시판 사용오류에 대해 고수님들의 가르침을... [1] file 2015.04.05 by criuce
parkkim34 https 주소가 이상합니다. [3] 2015.04.05 by parkkim34
lihbingo 베너 스크립트 소스 좀 알려주실 수 있을까요? [1] 2015.04.04 by I-JEX
우랑탕탕이 정말 답좀 부탁 드립니다 고수님들 ㅠㅠ [2] 2015.04.04 by 우랑탕탕이
컴박살 네이버 신디케이션 모듈 그리고 애드온 file  
앙대 게시판에 유투브 영상 올리고 수정하면 하얀 화면만 나와요 [2] 2015.04.04 by 앙대
뮤르시엘라고 모바일에서 올린 사진이 피씨에서는 안보입니다  
miso77 인터넷 익스플로러에서 웹사이트를 표시할 수 없습니다 라고 뜨고 홈페이지 접속이안됩니다. [1] 2015.04.04 by miso77
박테리아4f2e2 XE XE에서 액티브X를 삽입할 수 있나요?  
서연이아빠 내가 쓴 글에 내가 추천하고 그 글이 맨 상당에 위치하게 할 수 있나요?  
그럴수도있죠 코어 업데이트를 시도했더니 admin 페이지에 알 수 없는 메시지가 출력됩니다 [4] 2015.04.04 by 그럴수도있죠
페이먼트 카페24에서 db비밀번호 변경시 [1] 2015.04.04 by 로이조52
rtyyhh 기간지난게시물 자동삭제하는 방법? [2] file 2015.04.03 by rtyyhh
chicha 메모 게시판에서 new 표시 안 뜨게 하는 방법이 있을가요? [2] 2015.04.03 by chicha
하피니즈 댓글 삭제시 사라지지 않게하는 방법..? [3] 2015.04.03 by 반걸
GREATGUY 모바일 버전 전용으로 사이트맵 추가하는 방법이 있나요? [11] 2015.04.03 by GREATGUY
uoou 모바일 웹에서 a:active 가 안되는 현상  
GREATGUY 질문드립니다. (부모창, 자식창) [4] file 2015.04.03 by Double'U'
넥스트코코 최신글 위젯 레이아웃 위에 나타나는 현상 [3] file 2015.04.03 by 넥스트코코
김동하123 새창 띄우기 좀 봐주세요  
넥스트코코 위젯 최신글 레이아웃 위에 나타나는 현상