Shoutbox by Siropu

Shoutbox by Siropu [Paid] 2.1.1

No permission to buy (€14.99)
I update the chat and i have now this error

in_array(): Argument #2 ($haystack) must be of type array, string given

Code:
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: Richard Jul 28, 2024 at 6:57 AM

Stack trace

#0 src/addons/Siropu/Chat/Repository/User.php(152): in_array(344, '30')
#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(36) "https://www.tutoriaux-excalibur.com/"
  ["_GET"] => array(1) {
    ["chat/update"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
@Siropu Can you point me in the direction of where, or how, I can put this widget in the same position as the top container breadcrumb found in advertising?
 
I'm doing something wrong got all files uploaded to my server where they go what do i do next is there a template mod I have to do ?


I know there is something i'm misssing
 
how, I can put this widget in the same position as the top container breadcrumb found in advertising?
There isn't a widget position for that but you can use the XF ad system to place the widget there using this code: <xf:widget key="siropu_shoutbox" />
Go to Widgets > Shoutbox and un-select the current position to avoid multiple instances of the Shoutbox on the same page.

I'm doing something wrong got all files uploaded to my server where they go what do i do next is there a template mod I have to do ?
For installing/upgrading? Once copied, go to ACP > Add-ons and run the install/upgrade.
 
I'm testing this on 2.3 and I notice when I submit it redirects to the shoutbox page and not updating the actual shoutbox itself.
 
Smilies do not seem to work, tested in multiple browsers. Inputting the code for them, such as
Code:
:P or ;)
will post a smiley image corresponding to the one in the smiley block; however, clicking the smiley itself results in nothing.
 
Back
Top Bottom