You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Phalcon\Mvc\Model::_postSaveRelatedRecords(): Call to method writeattribute() on a non object in /opt/htdocs/phalcon_bugs/model_save_by_sub_array/test.php on line 85
Please notice that I commented few lines, if uncomment these line the demo will be correct. However, I think if input data not correct, phalcon should throw an exception but not caused a Fatal error.
Best regards
The text was updated successfully, but these errors were encountered:
Hi guys
I would like to save related records for two tables: Tags and Texts, text is belongs to tags by one to one relation. here is test code:
By above code, phalcon will caused a Fatal error:
Please notice that I commented few lines, if uncomment these line the demo will be correct. However, I think if input data not correct, phalcon should throw an exception but not caused a Fatal error.
Best regards
The text was updated successfully, but these errors were encountered: