When no plugins are installed on the platform and we try to install one:
2020/03/30 09:56:28 [error] 664#0: *11 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to oauth2_serverPlugin::__construct() must be of the type int, null given, called in /usr/share/tuleap/src/common/plugin/PluginFactory.class.php on line 161 and defined in /usr/share/tuleap/plugins/oauth2_server/include/oauth2_serverPlugin.php:94
Stack trace:
#0 /usr/share/tuleap/src/common/plugin/PluginFactory.class.php(161): oauth2_serverPlugin->__construct(NULL)
#1 /usr/share/tuleap/src/common/plugin/PluginFactory.class.php(347): PluginFactory->instantiatePlugin(NULL, 'oauth2_server')
#2 /usr/share/tuleap/src/common/plugin/PluginManager.class.php(301): PluginFactory->getNotYetInstalledPlugins()
#3 /usr/share/tuleap/plugins/pluginsadministration/include/PluginsAdministrationViews.class.php(358): PluginManager->getNotYetInstalledPlugins()
#4 /usr/share/tuleap/plugins/pluginsadministration/include/PluginsAdministrationViews.class.php(125): PluginsAdministrationViews->getAvailablePluginsPresenter()
#5 /usr/share/tuleap/src/common/" while reading response header from upstream, client: 82.229.14.51, server: 162.13.127.119, request: "GET /plugins/pluginsadministration/?view=available HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "162.13.127.119", referrer: "https://162.13.127.119/plugins/pluginsadministration/"