Skip to content

Conversation

tsaneff
Copy link

@tsaneff tsaneff commented Jul 11, 2015

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant