-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
TypeError on getMessages()
if it isn't set to an array
#1280
Comments
Thanks for reporting this issue. Could you provide a reproducer? or debug and understand what happens? |
I don't have a reproducter, but for more context, we are using https://github.com/symfony/amazon-sqs-messenger. We're not doing anything ourselves, this is happening through that library. https://github.com/symfony/amazon-sqs-messenger/blob/6.1/Transport/Connection.php#L77 is where the problem starts in the stack trace. |
Seems like it is related to #1412 since we see this error when the worker is stopped by the time limit. |
PHP Fatal error: Uncaught TypeError: AsyncAws\Sqs\Result\ReceiveMessageResult::getMessages(): Return value must be of type array, null returned in /srv/app/vendor/async-aws/sqs/src/Result/ReceiveMessageResult.php:28
The text was updated successfully, but these errors were encountered: