업데이트 후 에러 잡는 방법 질문
CMS/프레임워크 | Rhymix 2.1 |
---|---|
개발 언어 | PHP 7.4 |
Errors (1958)
업데이트 후 디버그를 보니 에러가 2000개정도 생겼습니다.
당장 사용하는데 지장은 없지만 이 부분을 스스로 해결해 나가며 공부를 하고싶습니다.
어떻게 해야 혼자 공부하며 고칠 수 있을까요?? 예를 들어, 어떤 사이트에 가면 메뉴얼이 있다거나
최신 책을 구매해서 봐야한다거나. 소프트웨어 프로그램에서 디버그를 잡는방법으로 한다거나
등등. 힌트 또는 의견을 남겨주시면 감사하겠습니다.
01. Notice: Undefined index: __timeline__
modules/timeline/timeline.model.php:156
modules/timeline/timeline.controller.php:271
classes/module/ModuleHandler.class.php:1351
classes/module/ModuleHandler.class.php:102
index.php:59
02. Notice: Trying to access array offset on value of type null
modules/timeline/timeline.model.php:156 (×2)
modules/timeline/timeline.controller.php:271
classes/module/ModuleHandler.class.php:1351
classes/module/ModuleHandler.class.php:102
index.php:59
03. Notice: Only variables should be assigned by reference
addons/member_pointsend/member_pointsend.addon.php:15 (×4)
files/cache/addons/pc.php:188
classes/module/ModuleHandler.class.php:108
index.php:59
04. Notice: Undefined variable: addon_path
addons/member_pointsend/member_pointsend.addon.php:37
files/cache/addons/pc.php:188
classes/module/ModuleHandler.class.php:108
index.php:59
05. Notice: Only variables should be assigned by reference
addons/member_pointsend/member_pointsend.addon.php:40
files/cache/addons/pc.php:188
classes/module/ModuleHandler.class.php:108
index.php:59
06. Notice: Undefined index: is_attended
modules/attendance/attendance.controller.php:707
classes/module/ModuleHandler.class.php:1351
classes/module/ModuleHandler.class.php:300
index.php:60
댓글 4
$timeline_info = $GLOBALS['__timeline__']['timeline_info'][$hash_id];
코드를
if(isset($GLOBALS['__timeline__'])) $timeline_info = $GLOBALS['__timeline__']['timeline_info'][$hash_id];
이렇게 바꾸면 첫번째 에러가 고쳐지는지 봐주시고, 6번째 출석부에러는 제쪽에서 확인후 오류고쳐두겠습니다.
어떻게 공부해야할지 막막한데 혹시 초보자분들을 위한 (공부 방법 /디버그 잡는방법) 힌트라도 있을까요?
하나하나 고쳐가야할것 같은데 의뢰방법밖에 없는지요
타임라인인 경우
Notice: Undefined index:
이 부분만 딱 검색해버리면 돼요.
그래서 실제로 156번째줄에 잇는 코드 확인해보시고 그 코드랑 최대한 비슷한 형태(구조)를 가진 코드들의 해결법을 담은 글들을 찾아야해요. 서치 능력인데.. 그럴려면 변수, array배열의 기초적인 구조같은것을 어느정도 공부해야합니다.