Zend Framework: this line has been read only

This is the first time I have encountered this problem. When saving one of my models, I get an error: "This line is marked as read-only." Not sure why I get this error and how to solve it. The stack trace did not help me. How can I solve this problem to save the record?

+5
source share
1 answer

Having a line marked as read only can be the result of any of the following operations:

  • A query Zend_Db_Selectjoined to another table
  • setIntegrityCheck(false) was set to select
  • One or more columns are the result of an evaluated expression

- , , Zend_Db , . update(), save() delete(), .

Zend_Db_Table, , integrity, , .

+7

All Articles