Error thrown

Call to a member function the_category_name_filter() on null