Get these errors on deleting content from content types for which i haven't set csm values.
Notice: Undefined index: csm in csm_message_alter() (line 249 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 262 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 262 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 279 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Notice: Trying to get property of non-object in csm_message_alter() (line 279 of /home/s26fbf3efdaa42c0/www/sites/default/modules/csm/csm.module).
Comments
Comment #1
bennybobw commentedThis is happening for me when I delete users. This could be because I have the profile2 module installed, but either way, I don't see a way to add a custom message to stop the error.
Comment #2
bennybobw commentedchanging priority to normal
Comment #3
Anonymous (not verified) commentedChecked on a fresh installation on drupal 7.24 and csm 7.10-beta2 without profile2. The error appears every time a user is deleted and occasionally when a node is deleted.
Comment #4
stefank commentedDoes anybody still getting the error? Could you please tell me how to reproduce it, as Im unable just by deleting the content or user.
Comment #5
stefank commentedComment #6
Anonymous (not verified) commentedHey, I checked again on simplytest.me it shows the error on user delete.
1. create an user as admin
2. cancel the created user's account as admin.
3. Choose either Delete the account and make its content belong to the Anonymous user or Delete the account and its content.
4. you will get the error.
Comment #7
stefank commentedHey @Dhamub,
I just installed a fresh copy 7.26 of drupal and custom message, done the steps as above and didn't get any errors. Nothing in logs as well.
Might be something to do with simplytest.me.
Anyways cannot reproduce.
Comment #8
stefank commentedUpdate:
Also I tried it on simplytest.me without getting any error. See attached image.
Comment #9
stefank commentedClosing the issue with the newest release of beta3.
If anyone will continue having above issue, please add new issue.
Cheers
Comment #10
Anonymous (not verified) commentedWeird....am still getting an error. :(
Anyways closed stays closed. :) Will report if i run into the issue in any of my future projects. Thanks for your time.
Comment #11
stefank commented