###前提・実現したいこと
cakephp2.8.5でCakeDC Usersプラグイン2.xを導入し、パスワード編集画面で以下のようなエラーが発生しました。
CakeDC Usersプラグイン
https://github.com/CakeDC/users
Deprecated (16384): Using key `action` is deprecated, use `url` directly instead. [CORE/Cake/View/Helper/FormHelper.php, line 383]
パスワード編集画面のコードは以下になります。
php
1public function change_password() { 2 if ($this->request->is('post')) { 3 $this->request->data[$this->modelClass]['id'] = $this->Auth->user('id'); 4 if ($this->{$this->modelClass}->changePassword($this->request->data)) { 5 $this->Flash->set(__d('users', 'Password changed.')); 6 // we don't want to keep the cookie with the old password around 7 $this->RememberMe->destroyCookie(); 8 $this->redirect('/'); 9 } 10 } 11 }
CakeDCのUsersプラグインにも
Note CakePHP 2.7 is currently not supported, we are working on it now
とあり、最新版の2.8.5には対応していないものと思われます。
エラーの発生場所がCOREのため、どのように対処すればいいか分からないため、質問させていただきました。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/07/07 04:53
2016/07/07 04:56
2016/07/07 06:35
2017/06/20 07:59