TypeError thrown

array_fill_keys(): Argument #1 ($keys) must be of type array, bool given