2
내 아약스 양식 유효성 검사 중에이 오류가 발생했습니다.오버로드 된 속성의 간접 수정 - cakephp
Notice (8): Indirect modification of overloaded property CommentsController::$data has no effect [APP\Controller\CommentsController.php, line 78]
오류에 명시된 특정 라인은 이것이다 :
이$this->data['Comment'][$this->params['form']['field']] = $this->params['form']['value'];
내 CakePHP의 버전이 2.1
그들이 그것을 1.3에서 일하고 있지만 구체적으로 어떤 코드 있다고 말했다
이다 나는 내가 사용하려고 2.1과 호환되도록 바꾸는 대신 ??
에 대한 the related migration 설명서를 참조하십시오입니다. 오류가 사라졌지만 어떤 출력도 보이지 않았다 –
그것은 나를 위해 일했다. .. 같은 문제가 있었다. –