Error thrown

Call to a member function display_category_list() on null