Why is tvi_get_term_info() getting called with an invalid $tid? Who knows! But it should fail more gracefully without Notice: Trying to get property of non-object in tvi_get_view_info() (line 247...

Comments

DanaRoseRoss’s picture

StatusFileSize
new420 bytes
DanaRoseRoss’s picture

Status: Active » Needs review
DanaRoseRoss’s picture

StatusFileSize
new687 bytes

Additional patch to make another part of TVI handle the NULL now coming out of tvi_get_term_info()

derekwebb1’s picture

Thanks. We will review these items soon!

Cheers, Derek

jdanthinne’s picture

Priority: Minor » Normal

Patch #1 working for me (on 7.x version)… no more notices. Please commit.

duaelfr’s picture

Status: Needs review » Closed (fixed)