php - Notice (8): Indirect modification of overloaded property -
after upgrade cakephp 1.3 2.1. got error
notice (8): indirect modification of overloaded property
threadscontroller::$data
has no effect
help me...
$this->data provided in controller bc way read data. using write data way you're doing result in angry php. because of way __get() works, in returns read-only versions of data fetches.
you should able use upgrade shell update $this->data --> $this->request->data.
more information read this
http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html
Comments
Post a Comment