Siropu
Well-known member
Soon.any updates please?
Soon.any updates please?
Exactly same issue on my forum, after upgrading XF to 2.3, and upgrading to Chat 2.4.2@Siropu Please check. I've been using it for years, but ever since I upgraded my board to 2.3 and Chats to 2.4.2, I've been getting errors with chat reactions.
View attachment 305814
Initially, the emoji reactions appear correctly, but after some time, they change to "[object HTMLDivElement]" in any chat with reactions.
Reactions not displaying correctly when updated via AJAX.
/idle command not working
"Load more messages" feature not working correctly with images where they do not display in fancybox when clicked on.
Joining a room, won't display the user list correctly.
Updating user status removes user from the list.
I can see the phrase issue and it is been updated but cannot reproduce the issue in the image.Two different reactions, two different broken outputs.
It is an admin option "Forum activity notification room".the addon would have an automatic function to post a link to each topic posted on the site.
Server error log
- TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given
- src/addons/Siropu/Chat/Repository/User.php:152
- Generated by: xxxxx
- Jul 27, 2024 at 7:42 PM
Stack trace
#0 src/addons/Siropu/Chat/Repository/User.php(152): in_array(7620, '')
#1 src/addons/Siropu/Chat/Pub/View/Chat.php(40): Siropu\Chat\Repository\User->getUsersData(Array, 1)
#2 src/XF/Mvc/Renderer/AbstractRenderer.php(92): Siropu\Chat\Pub\View\Chat->renderJson()
#3 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Siropu\\Chat:Cha...', '', Array)
#4 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('Siropu\\Chat:Cha...', '', Array)
#5 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#9 src/XF.php(798): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(22) "/index.php?chat/update"
["referrer"] => string(29) "https://sitename.co.uk/chat/"
["_GET"] => array(1) {
["chat/update"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Stack trace
#0 src/addons/Siropu/Chat/Repository/User.php(152): in_array(1, '')
#1 src/addons/Siropu/Chat/Pub/View/Chat.php(40): Siropu\Chat\Repository\User->getUsersData(Array, 1)
#2 src/XF/Mvc/Renderer/AbstractRenderer.php(92): Siropu\Chat\Pub\View\Chat->renderJson()
#3 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Siropu\\Chat:Cha...', '', Array)
#4 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('Siropu\\Chat:Cha...', '', Array)
#5 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#9 src/XF.php(798): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(375) "/swodyssey/index.php?chat/update&users%5B1%5D=&channel=room&room_id=1&last_id%5B1%5D=78732&conv_id=17&conv_only=0&conv_items=&conv_last_active=1719774024&conv_last_update=1719774024&user_last_update=1722103427&is_chat_page=1&hide_tabs=0&_xfRequestUri=%2Fswodyssey%2Findex.php%3Fchat%2F&_xfWithData=1&_xfToken=1722101666%2Cfc7bbf950442351a898b26a6223059da&_xfResponseType=json"
["referrer"] => string(49) "https://ambientvibe.com/swodyssey/index.php?chat/"
["_GET"] => array(17) {
["chat/update"] => string(0) ""
["users"] => array(1) {
[1] => string(0) ""
}
["channel"] => string(4) "room"
["room_id"] => string(1) "1"
["last_id"] => array(1) {
[1] => string(5) "78732"
}
["conv_id"] => string(2) "17"
["conv_only"] => string(1) "0"
["conv_items"] => string(0) ""
["conv_last_active"] => string(10) "1719774024"
["conv_last_update"] => string(10) "1719774024"
["user_last_update"] => string(10) "1722103427"
["is_chat_page"] => string(1) "1"
["hide_tabs"] => string(1) "0"
["_xfRequestUri"] => string(26) "/swodyssey/index.php?chat/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1722101666,fc7bbf950442351a898b26a6223059da"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
#0 src/addons/Siropu/Chat/Repository/User.php(152): in_array(144671, '85694,4,36177,7...')
#1 src/addons/Siropu/Chat/Pub/View/Chat.php(40): Siropu\Chat\Repository\User->getUsersData(Array, 1)
#2 src/XF/Mvc/Renderer/AbstractRenderer.php(92): Siropu\Chat\Pub\View\Chat->renderJson()
#3 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Siropu\\Chat:Cha...', '', Array)
#4 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('Siropu\\Chat:Cha...', '', Array)
#5 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#9 src/XF.php(798): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}
array(4) {
["url"] => string(22) "/index.php?chat/update"
["referrer"] => string(26) "https://www"
["_GET"] => array(1) {
["chat/update"] => string(0) ""
}
["_POST"] => array(0) {
}
}
How do you merge these templates?After merging the 2 obsoletes templates from siropu chat, no more error
I checked multiple times on various occasions - and did not have such a message - but the error seems to have gone away, by itself... at least, I have not seen it since it first appeared.In the admin panel I got a message from Xenforo that there were obsolete templates and I simply opened the two templates displayed and manually saved the changes made by the latest Siropu chat update
Fixed an error that shows up in ACP.
Fixed an issue with the submit button not displaying in "all pages mode".
You can either change it from your chat user options or from chat admin options but the ACP change will not override the user setting.How do I get rid of the collapsible white chatroom bar that appears by default as a sticky element at the bottom of the page?
Ah, it's controlled by the 'display mode' setting. Got it, thanks!You can either change it from your chat user options or from chat admin options but the ACP change will not override the user setting.
We use essential cookies to make this site work, and optional cookies to enhance your experience.