It means that $term is null so unable to fetch $term->taxonomy
go to that file line 226 and add a is_null() check.
-
This reply was modified 2 years, 2 months ago by
PuNK DeSi.
-
This reply was modified 2 years, 2 months ago by
PuNK DeSi.
Hey @garconis,
Do you have any idea what particular page this is happening on?
In order for the code to get there in the first place, the page must identify itself as a term (is_category(), is_tax() or is_tag()) which is why we are expecting the query to return a term for us.
We theoretically can add another check there to prevent this warning from being output but I think there’s a bigger issue at play here. Either the page should not identify itself as a term or the query should return a term object.
Plugin Support
Prabhat
(@prabhatrai)
Hi @garconis,
We haven’t heard back from you in a couple of days. I’m going to go ahead and close this thread for now. But if you’d like us to assist, please feel welcome to continue the conversation.
Thanks!