#304 Undefined property: StompQueueManager::$subscriptions

Avoinna
2 kuukautta sitten avasi aab · 0 kommenttia
aab kommentoitu 2 kuukautta sitten

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"```
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.