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

Lambda error: Call to undefined method Bref\Event\Http\HttpRequestEvent::getRequestContext() #1841

Open
raymonsupportbook opened this issue Jul 8, 2024 · 3 comments
Labels

Comments

@raymonsupportbook
Copy link

Description:

When opening my webapp development endpoint (localhost), I sometimes encouter an error:
Lambda error: Call to undefined method Bref\Event\Http\HttpRequestEvent::getRequestContext()

I am using the php-8.3 bref fpm docker image and bref 2.2.1 in symfony (7.1). When I encouter this error, and refresh the page, it loads, and after refresh it returns the Lambda error.

Has someone else encoutered this problem before?

@dovab
Copy link

dovab commented Jul 8, 2024

I've also encountered this issue. Weird thing is, when I refresh the page, the error is gone, but when I refresh again it is back.

@mnapoli
Copy link
Member

mnapoli commented Jul 8, 2024

Hi, this is indeed surprising.

Can you clarify that you all work together at the same company? @raymonsupportbook, @dovab, @DylanSupportbook, @arjan127? (since you all commented or added a 👍 in the span of 2 minutes). That helps me understand the impact here: is one project impacted, or are multiple companies/users impacted.

If you all have different setups, can you share the complete error logs, and maybe add as many details as you can?

@raymonsupportbook
Copy link
Author

that's correct, but we are using it in 10 projects (all of the same kind)

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

No branches or pull requests

3 participants