업데이트하고 에러가 떠요.

woocommerce settings 를 클릭하면 action failed. please refresh the page and retry. 라고만 뜨고 아무것도 안뜹니다.

플러그인 문제인가 확인해보려고 kboard를 비활성화 했다가 다시 활성화하니 복구되었는데,
문제는 제가 네이버쇼핑 플러그인을 사용중인데, EP 형성이 안됩니다.

플러그인 제작자에게 물어보니 PHP 와 NGINX 의 메모리와 max_time_limit 등을 늘려 보라고 해서 수정해도 안됩니다.

어떻게 해야 할까요?

수고하세요.
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기
  • wp-config.php 파일에

    define('WP_MEMORY_LIMIT', '256M');

    코드를 추가해보세요. (Happy Blogging 코드 위쪽에)

    관련 내용은 아래 링크를 참고해주세요.

    https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    저희도 우커머스와 연동해서 다시 테스트 해보겠습니다.

    순정 우커머스와의 문제가 없다면, 해당 플러그인 개발자에게 테스트 요청을 해보셔야 할 듯합니다.

  • 답변 감사합니다.

    게시판을 활성화하고 woocommerce settings 를 클릭하면 action failed. please refresh the page and retry. 라고만 뜨고 아무것도 안뜹니다.

    재설치해도 같은 현상입니다.

  • /wp-content/plugins/kboard/class/KBSeo.class.php 파일을 수정해주세요.(또는 KBoard 게시판 재설치)

     

    public function __construct(){
        if(kboard_mod() == 'document'){
            $this->content = new KBContent();
            $this->content->initWithUID(kboard_uid());
                
            if($this->content->uid){
                if(current_theme_supports('title-tag')){
                    add_filter('document_title_parts', array($this, 'title'), 10, 1);
                }
                else{
                    add_filter('wp_title', array($this, 'title'), 10, 1);
                }

                $is_display = false;
                $board = new KBoard($this->content->board_id);
                if(!$board->meta->view_iframe && !is_admin()){
                    if($board->isReader($this->content->member_uid, $this->content->secret)){
                        $is_display = true;
                    }
                    else if($board->permission_write=='all' && ($board->permission_read=='all' || $board->permission_read=='author')){
                        if($board->isConfirm($this->content->password, $this->content->uid)){
                            $is_display = true;
                        }
                    }
                }

                if($is_display){
                    $this->init();
                }
            }
        }
        add_action('wp_head', array($this, 'head'), 1);
        add_action('kboard_head', array($this, 'rss'), 20);
    }

     

    위 코드의 굵게 표시된 부분을 아래 표시된 코드로 바꿔서 테스트 해보세요.

     

    public function __construct(){
        $mod = isset($_REQUEST['mod'])?sanitize_key($_REQUEST['mod']):'';
        if($mod == 'document'){

            $this->content = new KBContent();
            $this->content->initWithUID(kboard_uid());
            
            if($this->content->uid){
                if(current_theme_supports('title-tag')){
                    add_filter('document_title_parts', array($this, 'title'), 10, 1);
                }
                else{
                    add_filter('wp_title', array($this, 'title'), 10, 1);
                }
                
                $is_display = false;
                $board = new KBoard($this->content->board_id);
                if(!$board->meta->view_iframe && !is_admin()){
                    if($board->isReader($this->content->member_uid, $this->content->secret)){
                        $is_display = true;
                    }
                    else if($board->permission_write=='all' && ($board->permission_read=='all' || $board->permission_read=='author')){
                        if($board->isConfirm($this->content->password, $this->content->uid)){
                            $is_display = true;
                        }
                    }
                }
                
                if($is_display){
                    $this->init();
                }
            }
        }
        add_action('wp_head', array($this, 'head'), 1);
        add_action('kboard_head', array($this, 'rss'), 20);
    }

     

    안되시면 사이트 하단의 고객지원쪽 이메일로 관리자 계정와 FTP 접속 정보를 보내주시면 확인해보겠습니다.

  • 코드 바꾸니까 되네요.

    그런데 워드프레스에서 메모리를 늘려라 해서 뭔 파일을 만졌던걸로 기억하는데,

    그냥 따라하면서 또 리밋트를 늘리니 찝찝한 구석이 있네요.

  • KBoard쪽 코드를 바꾸셨다면 메모리 관련 설정을 변경하실 필요는 없을 듯합니다^^

워드프레스 에러 기술지원 서비스 전문가에게 맡기세요