I noticed a lot of watchdog posts:
Notice: Trying to get property of non-object in _forum_access_comment_access_callback()
And tracked it down to a situation in which the comment had been deleted and cleared from the system. This particular client expects to be doing that a lot, so there's a pretty high occurrence of this sort of thing. It's not a terribly critical need, but it would make my watchdog tracking cleaner if it was handled better. Thankfully it's a really easy fix too. I'd hate to have to reapply this patch on every update - so I'm passing it up the chain. Lemme know if you have any questions.
Comment | File | Size | Author |
---|---|---|---|
forum_access.patch | 394 bytes | Bastlynn | |
Comments
Comment #1
Bastlynn CreditAttribution: Bastlynn commentedComment #3
salvisThank you for the analysis and patch!
Comment #4
Bastlynn CreditAttribution: Bastlynn commentedAnd thank you for getting to the patch quickly! :)