Original Submission Under some not clearly determined conditions (AFAIK it only happens after a full clear caches and ownership restoration), the plugin hooks cache file can be empty. When you end up in this situation, the only remaining possibility is to manually remove the plugin hooks cache file.
Trace:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Tuleap\Plugin\SerializedPluginProxy::__construct() must be an instance of Tuleap\Plugin\EventPluginCache, integer given, called in /usr/share/tuleap/src/common/plugin/PluginLoader.php on line 89 and defined in /usr/share/tuleap/src/common/plugin/SerializedPluginProxy.php:39
Stack trace:
#0 /usr/share/tuleap/src/common/plugin/PluginLoader.php(89): Tuleap\Plugin\SerializedPluginProxy->__construct(1)
#1 /usr/share/tuleap/src/common/plugin/PluginLoader.php(51): Tuleap\Plugin\PluginLoader->getFromCache()
#2 /usr/share/tuleap/src/common/include/LoaderScheduler.php(41): Tuleap\Plugin\PluginLoader->loadPlugins()
#3 /usr/share/tuleap/src/www/include/pre.php(134): LoaderScheduler->loadPluginsThenStartSession(true)
#4 /usr/share/tuleap/src/utils/tuleap.php(21): require_once('/usr/share/tule...')
#5 {main}
thrown in /usr/share/tuleap/src/common/plugin/SerializedPluginProxy.php on line 39