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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -