Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined array key "deviceId" in the cookie parse function #33

Open
francisco-giraldo opened this issue Feb 20, 2025 · 1 comment
Open

Comments

@francisco-giraldo
Copy link

francisco-giraldo commented Feb 20, 2025

I'm getting this error in the cookie parse function.

Undefined array key "deviceId"

in line amplitude/experiment-php-server/src/AmplitudeCookie.php:55

I'm getting this for a few users, not all of them.

you can reproduce this if you append any string to the amplitude cookie value

@tyiuhc
Copy link
Collaborator

tyiuhc commented Feb 25, 2025

Hi @francisco-giraldo, many thanks for raising this issue. To further assist on this issue, it would be useful to know:

  1. The format/example of the failed cookie values
  2. Whether the cookie key begins with AMP_ or amp_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants