in_array(): Argument #2 ($haystack) must be of type array, null given

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /hana/kiritani/blog/usr/plugins/TpCache/Plugin.php:253 Stack trace: #0 /hana/kiritani/blog/usr/plugins/TpCache/Plugin.php(253): in_array() #1 /hana/kiritani/blog/usr/plugins/TpCache/Plugin.php(388): TpCache_Plugin::needCache() #2 /hana/kiritani/blog/usr/plugins/TpCache/Plugin.php(166): TpCache_Plugin::init() #3 [internal function]: TpCache_Plugin::C() #4 /hana/kiritani/blog/var/Typecho/Plugin.php(446): call_user_func_array() #5 /hana/kiritani/blog/index.php(20): Typecho\Plugin->__call() #6 {main}