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

InvalidArgumentException: Event list must not exceed 25 items #24

Closed
phillmorgan28 opened this issue Dec 21, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@phillmorgan28
Copy link

Describe the bug

We're getting an error on our store when a user adds a large number of items to the cart. The error is being thrown inside one of your plugins dependencies but isn't caught by your code.

To reproduce

Steps to reproduce the behaviour:

  1. Add more than 25 items to the cart
  2. Receive an internal server error message on the front end
  3. Check log and see error "InvalidArgumentException: Event list must not exceed 25 items" coming from "br33f/php-ga4-mp"

Expected behaviour

The cart should not fail, additional parameters should be truncated to allow the cart to function normally.

Versions

  • Plugin version: 4
  • Craft version: 4
@phillmorgan28 phillmorgan28 added the bug Something isn't working label Dec 21, 2023
@khalwat
Copy link
Contributor

khalwat commented Jan 11, 2024

@khalwat khalwat closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants