Bugfix.Change $cookieParameters to $cookieOptions