Error thrown

Call to a member function get_catalog_ordering_args() on null