CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

Contents Management System

count 오류

→ 문제되는 부분에서 대충 countobj로 바꾸면 되기도 함

Undefined constant 오류
→ 변수명에 세미콜론 찍어주면 되기도 함

"Attempt to assign property "@@@@" on null"
→ $args = null ?: new stdClass;
→ deniskim님의 경험치 표시 위젯의 경우 문제가 되는 $widget_info->experience = $oExperienceModel->getExperience($member_srl); 위에 아래 코드 삽입
→ $widget_info = null ?: new stdClass;

"array_flip(): Argument #1 ($array) must be of type array, null given"
→ 아래와 같이 수정
→ {@$experience_group = @array_flip($config->experience_group)}
→ {@$experience_group = @array_flip($config->experience_group ?? [])}

in_array(): Argument #2 ($haystack) must be of type array, bool given
→ 스케치북5 스킨에서 발생, 아래와 같이 수정
→ @in_array('list_m',$mi->cmt_count) 를 in_array('list_m',$mi->cmt_count ?: []) 로 수정
→ @in_array('list_m',$mi->ext_img) 를 in_array('list_m',$mi->ext_img) ?: []) 로 수정

아래는 라이믹스 코어에서 수정된 것들

  1. 설정 -> 관리자 화면 설정 -> 저장 클릭시
    TypeError #0 "count(): Argument #1 ($var) must be of type Countable|array, null given" in modules/menu/menu.admin.controller.php on line 1326
    common/framework/debug.php:679

  2. 콘텐츠 -> 스팸필터 -> 캡챠 설정 -> 저장 클릭시
    TypeError #0 "in_array(): Argument #2 ($haystack) must be of type array, null given" in modules/spamfilter/spamfilter.admin.controller.php on line 82
    common/framework/debug.php:679

  3. 콘텐츠 -> 파일 -> 파일 업로드 설정 -> 저장 클릭시
    Error #0 "Attempt to assign property "allowed_filesize" on null" in modules/file/file.admin.controller.php on line 64
    common/framework/debug.php:679

  4. 콘텐츠 -> 파일 -> 파일 다운로드 설정 -> 저장 클릭시
    Error #0 "Attempt to assign property "allow_outlink" on null" in modules/file/file.admin.controller.php on line 130
    common/framework/debug.php:679

  5. 콘텐츠 -> 파일 -> 기타 설정 -> 저장 클릭시
    Error #0 "Attempt to assign property "save_changelog" on null" in modules/file/file.admin.controller.php on line 152
    common/framework/debug.php:679

  6. 회원 -> 회원 설정 -> 회원가입 -> 저장 클릭시
    TypeError #0 "in_array(): Argument #2 ($haystack) must be of type array, null given" in modules/member/member.admin.controller.php on line 425
    common/framework/debug.php:679

  7. 고급 -> RSS -> 피드 발행관리 -> 저장 클릭시
    TypeError #0 "array_keys(): Argument #1 ($array) must be of type array, null given" in modules/rss/rss.admin.controller.php on line 96
    common/framework/debug.php:679

추천한 사람

 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기