#304 Undefined property: StompQueueManager::$subscriptions

Otwarty
otworzone 9 miesięcy temu przez aab · 0 komentarzy
aab skomentował 9 miesięcy temu

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"```
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisania
1 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.