2
私のajaxフォームの検証中にこのエラーが発生しました。オーバーロードされたプロパティの間接的変更 - 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のバージョンは、彼らはそれが1.3で働いているが、具体的にどのようなコード私が使用するつもりだと語っ2.1
です2.1と互換性のあるものにするための置き換えとして?
ためthe related migrationガイドを参照してください
です。エラーは消えましたが、出力が表示されませんでした –
それは私のために働いた..同じ問題を抱えていた.. –