Sometimes $object->casetracker will be an array and _casetracker_tokens expects it to be a object. I created a patch to make sure it is an object, but I don't think this is the right place to do this, but it's a start.

CommentFileSizeAuthor
make_sure_castracker_is_object-1.patch904 byteslogaritmisk

Comments

logaritmisk’s picture

Status: Active » Needs review
metzlerd’s picture

Issue summary: View changes
Status: Needs review » Postponed (maintainer needs more info)

Am wondering if this is related to #2454895: Notice: Trying to get property of non-object in casetracker_node_view(), but I need steps to reproduce to find out if there is a better solution. (I realize this has been a long time).

logaritmisk’s picture

Sorry, I don't remember what I did or how. It was for an client and I have left the company I worked for so I don't have access to the project or the code.

metzlerd’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Ok. I think I have already fixed this in a similar issue that had more details. Am closing. Feel free to reopen if we can get a reproducible path.