#304 Undefined property: StompQueueManager::$subscriptions

Open
opened 8 months ago by aab · 0 comments
aab commented 8 months ago

Trying again the stomp queue (just in case the token issue is caused by redis (see #303). It seems it is not.

As the debian bullseye version of rabbitmq-server was not working, I've installed a newer one (along with erlang) as explained in https://www.rabbitmq.com/docs/install-debian#apt-quick-start-cloudsmith; this one at least boots rabbitmq.

Using stomp for queue seems to be working, and it feels faster than using db or redis, but this appears on the logs:

PHP Warning: Invalid argument supplied for foreach() in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 151PHP message: PHP Notice: Undefined property: StompQueueManager::$subscriptions in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 177PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 177PHP message: PHP Notice: Undefined property: StompQueueManager::$breakout in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Notice: Undefined property: StompQueueManager::$breakout in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467"

Trying again the stomp queue (just in case the token issue is caused by redis (see https://notabug.org/diogo/gnu-social/issues/303). It seems it is not. As the debian bullseye version of rabbitmq-server was not working, I've installed a newer one (along with erlang) as explained in https://www.rabbitmq.com/docs/install-debian#apt-quick-start-cloudsmith; this one at least boots rabbitmq. Using stomp for queue seems to be working, and it *feels* faster than using db or redis, but this appears on the logs: ```PHP Warning: Invalid argument supplied for foreach() in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 151PHP message: PHP Notice: Undefined property: StompQueueManager::$subscriptions in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 177PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 177PHP message: PHP Notice: Undefined property: StompQueueManager::$breakout in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Notice: Undefined property: StompQueueManager::$breakout in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467PHP message: PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/gnusocial/plugins/StompQueue/classes/StompQueueManager.php on line 467"```
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.