Wordpress错误“条件查询标记在运行查询之前不起作用。 在>之前,他们总是返回假。“

I'm getting the following error

Notice: is_tax was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false.

Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/username/public_html/wp-includes/functions.php on line 4161

The weird part is that is_tax, is not mentioned once in my functions.php file: https://gist.github.com/beckah/5eb004d9230f958667dedbc9d517d9c2

Nor is if found in the required option.php file: https://gist.github.com/beckah/c38f6c1e7cc2b3bf3f2d762ac77f3d0c

What is causing this error and how can I alleviate it?