TypeError thrown

Argument 1 passed to TD\ElasticDatasource\Controller\getSubjectsByType() must be of the type array, null given, called in /home/tam/applications/nlib-nlib/releases/20220117095537Z/web/app/plugins/elastic-datasource/src/Controller/DetailController.php on line 137