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

Error when running receive command. #126

Closed
vamsiikrishna opened this issue Jul 27, 2017 · 2 comments
Closed

Error when running receive command. #126

vamsiikrishna opened this issue Jul 27, 2017 · 2 comments

Comments

@vamsiikrishna
Copy link
Contributor

Hi,
When I run
php app/console uecode:qpush:receive my_queue_name

I am getting

Warning: Invalid argument supplied for foreach() 
                                                           
@k-k
Copy link
Contributor

k-k commented Oct 9, 2017

@vamsiikrishna What queue provider are you using? The receive method should, ideally, always be returning an array, empty or otherwise. Curious how this is happening.

@tlfbrito
Copy link

tlfbrito commented Nov 2, 2017

@vamsiikrishna I think you are receiving from sync provider.
@kmfk Sync provider implementation isn't returning an array:

public function receive(array $options = []) {}

@k-k k-k closed this as completed Mar 28, 2018
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

3 participants