Viewing 3 replies - 1 through 3 (of 3 total)
  • 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 1 year, 1 month ago by PuNK DeSi.
    • This reply was modified 1 year, 1 month ago by PuNK DeSi.
    Plugin Author arnaudbroes

    (@arnaudbroes)

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP warning regarding taxonomy’ is closed to new replies.