Attempt to fix the following issue: When user is composing YumMessage to a 'friend', although the message is send with success, the following error occurs in the logs:
Fix "[error] [php] Attempt to assign property of non-object (...) ... Stack trace: #0 unknown(0): YumMessageController->actionCompose()... YumMessageController.php (67)...
Resolution: It seems 'performAjaxValidation' was not called with actual model object and also the object itself was with missing 'from_user' relation.
Attempt to fix the following issue: When user is composing YumMessage to a 'friend', although the message is send with success, the following error occurs in the logs: Fix "[error] [php] Attempt to assign property of non-object (...) ... Stack trace: #0 unknown(0): YumMessageController->actionCompose()... YumMessageController.php (67)...
Resolution: It seems 'performAjaxValidation' was not called with actual model object and also the object itself was with missing 'from_user' relation.