#304 Undefined property: StompQueueManager::$subscriptions

開啟中
aab9 月之前創建 · 0 條評論
aab commented 9 月之前

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.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容