#304 Undefined property: StompQueueManager::$subscriptions

Öppen
öppnade 6 månader sedan av aab · 0 kommentarer
aab kommenterad 6 månader sedan

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"```
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.