API /api/v4/application/statistics: NoMethodError: undefined method `-' for nil:NilClass
I got this while loading the /admin
page.
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1376437/?referrer=gitlab_plugin
NoMethodError: undefined method `-' for nil:NilClass
count_helper.rb:21:in `approximate_fork_count_with_delimiters'
approximate_fork_count = fork_network_member_count - fork_network_count
api/entities/application_statistics.rb:10:in `block in <class:ApplicationStatistics>'
approximate_fork_count_with_delimiters(counts)
grape_entity/entity.rb:494:in `instance_exec'
instance_exec(object, &block)
grape_entity/entity.rb:494:in `exec_with_object'
instance_exec(object, &block)
grape_entity/exposure/block_exposure.rb:10:in `value'
entity.exec_with_object(options, &@block)
...
(145 additional frame(s) were not displayed)
NoMethodError: undefined method `-' for nil:NilClass