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 while using Notification Listener #1

Closed
GarryLai opened this issue Jan 1, 2023 · 4 comments
Closed

Error while using Notification Listener #1

GarryLai opened this issue Jan 1, 2023 · 4 comments

Comments

@GarryLai
Copy link

GarryLai commented Jan 1, 2023

Version(s) affected: 0.0.5

Description
Error while using Notification Listener

How to reproduce
Create a Notification Listener and send notification

Possible Solution

Additional context

iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 {"userId":1,"exception":"[object] (TypeError(code: 0): iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 at /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php:403)

iamfarhad added a commit that referenced this issue Jan 1, 2023
@iamfarhad
Copy link
Owner

Version(s) affected: 0.0.5

Description Error while using Notification Listener

How to reproduce Create a Notification Listener and send notification

Possible Solution

Additional context

iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 {"userId":1,"exception":"[object] (TypeError(code: 0): iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 at /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php:403)

Fixed

@GarryLai
Copy link
Author

GarryLai commented Jan 1, 2023

Not working

iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 {"userId":1,"exception":"[object] (TypeError(code: 0): iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 at /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php:403)

@iamfarhad
Copy link
Owner

Not working

iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 {"userId":1,"exception":"[object] (TypeError(code: 0): iamfarhad\LaravelRabbitMQ\RabbitQueue::publishProperties(): Argument #1 ($queue) must be of type string, null given, called in /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php on line 67 at /var/www/dev/vendor/iamfarhad/laravel-rabbitmq/src/RabbitQueue.php:403)

Update composer now, fixed

@GarryLai
Copy link
Author

GarryLai commented Jan 1, 2023

0.0.7 still not working. The message does not send out to RabbitMQ. Please make sure you test it before release.

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