Social Groups (XenForo 2.x.x)

Social Groups (XenForo 2.x.x) [Paid] 4.0.3

No permission to buy ($50.00)
Post counts in threads attached to a social group are not displaying correctly, either, since the issue with Discussions disappearing and reappearing.
 
@truonglv I get the following error when creating/editing a group post via the API.

ErrorException: [E_DEPRECATED] trim(): Passing null to parameter #1 ($string) of type string is deprecated
  • src/addons/Truonglv/Groups/Service/Comment/Preparer.php:181
  • src/addons/Truonglv/Groups/Service/Comment/Preparer.php:196
Note: only in Xenforo dev mode
 
@truonglv

Receiving a lot of errors the last few days:
Code:
[*]ErrorException: [E_WARNING] Attempt to read property "TypeHandler" on null
[*]src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php:21

[*]Generated by: Unknown account
[*]Jun 2, 2024 at 4:37 PM

Stack trace

#0 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(21): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 21)
#1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Forum.php(92): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\ElasticSearchEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(42) "/forums/bla.15/post-thread"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/forums/bla_15/post-thread"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
At me the same

Code:
InvalidArgumentException: Class group-actions\Events does not match formatter pattern %s\%s\View\%s src/XF.php:1129
Generiert von: Unbekanntes Konto 8. Juni 2024 um 11:51
Stack-Trace
#0 src/XF/App.php(1667): XF::stringToClass('group-actions\\E...', '%s\\%s\\View\\%s', 'Pub')
#1 src/XF/Container.php(234): XF\App->XF\{closure}('group-actions\\E...', Array, Object(XF\Container))
#2 src/XF/Container.php(247): XF\Container->create('view', 'group-actions\\E...', Array)
#3 src/XF/Mvc/Renderer/AbstractRenderer.php(79): XF\Container->XF\{closure}('group-actions\\E...', Array)
#4 src/XF/Mvc/Renderer/AbstractRenderer.php(87): XF\Mvc\Renderer\AbstractRenderer->createViewObject('group-actions\\E...', 'public:tlg_brow...', Array)
#5 src/XF/Mvc/Renderer/Html.php(47): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('group-actions\\E...', 'public:tlg_brow...', Array)
#6 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('group-actions\\E...', 'public:tlg_brow...', Array)
#7 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}
Status der Anfrage
array(4) {
  ["url"] => string(21) "/group-actions/events"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
At me the same

Code:
InvalidArgumentException: Class group-actions\Events does not match formatter pattern %s\%s\View\%s src/XF.php:1129
Generiert von: Unbekanntes Konto 8. Juni 2024 um 11:51
Stack-Trace
#0 src/XF/App.php(1667): XF::stringToClass('group-actions\\E...', '%s\\%s\\View\\%s', 'Pub')
#1 src/XF/Container.php(234): XF\App->XF\{closure}('group-actions\\E...', Array, Object(XF\Container))
#2 src/XF/Container.php(247): XF\Container->create('view', 'group-actions\\E...', Array)
#3 src/XF/Mvc/Renderer/AbstractRenderer.php(79): XF\Container->XF\{closure}('group-actions\\E...', Array)
#4 src/XF/Mvc/Renderer/AbstractRenderer.php(87): XF\Mvc\Renderer\AbstractRenderer->createViewObject('group-actions\\E...', 'public:tlg_brow...', Array)
#5 src/XF/Mvc/Renderer/Html.php(47): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('group-actions\\E...', 'public:tlg_brow...', Array)
#6 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('group-actions\\E...', 'public:tlg_brow...', Array)
#7 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}
Status der Anfrage
array(4) {
  ["url"] => string(21) "/group-actions/events"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
That's a different error from the one posted above you. Your error is from the latest XF update.

If you're comfortable editing a file on your server to work around it, I posted a workaround when I reported this same error over on the dev's forums.
 
@truonglv

Receiving a lot of errors the last few days:
Code:
[*]ErrorException: [E_WARNING] Attempt to read property "TypeHandler" on null
[*]src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php:21

[*]Generated by: Unknown account
[*]Jun 2, 2024 at 4:37 PM

Stack trace

#0 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(21): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/nginx/dom...', 21)
#1 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Forum.php(92): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(352): SV\ElasticSearchEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(42) "/forums/bla.15/post-thread"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/forums/bla_15/post-thread"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
I haven't encountered this, but since the addon author hasn't been around for a couple of weeks, I looked into it and posted a workaround over on the author's forum which should fix it, if you're comfortable messing with the addon's files.

Also for reference, the error you're seeing is due to a null thread reference being passed through XenForo's "actionPostThread" event, which doesn't seem like should be happening in the first place. Possibly something from ElasticSearchEssentials since I see that in your stack trace and the other person who posted the same error over there. Whatever the case, the workaround I posted in the thread I just linked should take care of it from this addon's side of things.
 
Within the group, members can sell resources and there is no permissions to prevent this.
Can you add that?
 
installed update, discussions are no loner there in groups, using as default page gives no permission error. ive checked and rechecked all permissions
 
I think he's missing in action. I registered on his site like 3 weeks ago and i still haven't been approved. I was weary before but it's official now. I'm not purchasing this add on. Hopefully some of the other developers create a similar add on. It looks real good.
 
I think he's missing in action. I registered on his site like 3 weeks ago and i still haven't been approved. I was weary before but it's official now. I'm not purchasing this add on. Hopefully some of the other developers create a similar add on. It looks real good.
Correction. It wasn't his site that I was waiting approval for. It was another add on developers site. I had a big brain fart 😂😂.
 
Hello @truonglv , I'm selecting a group as "user promotion" in the member roles section under settings in the admin panel, but it doesn't save the rank and not promote users.

/admin.php?group-member-roles/

Version Xenforo 2.2

I am waiting for your help, thank you 🙏🏼
 
Back
Top Bottom