Bug Server error joining group

Seeker-Smith

Customer
There is also an error leaving a group. Plus a new error which I'll post in another post.

  • ErrorException: [E_WARNING] Attempt to read property "Moderators" on null
  • src/addons/DBTech/SocialGroups/Entity/GroupMember.php:307

  • Generated by: Seeker
  • Aug 27, 2024 at 5:11 PM


Stack trace​



#0 src/addons/DBTech/SocialGroups/Entity/GroupMember.php(307): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/femdom...', 307)
#1 src/XF/Mvc/Entity/Entity.php(1715): DBTech\SocialGroups\Entity\GroupMember->_postDelete()
#2 src/addons/DBTech/SocialGroups/XF/Entity/User.php(293): XF\Mvc\Entity\Entity->delete(true, false)
#3 src/addons/DBTech/SocialGroups/XF/Entity/User.php(410): DBTech\SocialGroups\XF\Entity\User->rebuildDbtechSocialGroupMemberships(false)
#4 src/addons/EWR/Discord/Entity/User.php(26): DBTech\SocialGroups\XF\Entity\User->_postSave()
#5 src/XF/Mvc/Entity/Entity.php(1324): EWR\Discord\Entity\User->_postSave()
#6 src/addons/DBTech/SocialGroups/Entity/GroupMember.php(225): XF\Mvc\Entity\Entity->save()
#7 src/XF/Mvc/Entity/Entity.php(1324): DBTech\SocialGroups\Entity\GroupMember->_postSave()
#8 src/addons/DBTech/SocialGroups/Repository/GroupMemberRepository.php(115): XF\Mvc\Entity\Entity->save(true, true)
#9 src/addons/DBTech/SocialGroups/ControllerPlugin/GroupPlugin.php(171): DBTech\SocialGroups\Repository\GroupMemberRepository->joinGroup(Object(DBTech\SocialGroups\Entity\Group), Object(XFMG\XF\Entity\User), true, '')
#10 src/addons/DBTech/SocialGroups/Pub/Controller/GroupController.php(1542): DBTech\SocialGroups\ControllerPlugin\GroupPlugin->actionJoin(Object(DBTech\SocialGroups\Entity\Group), '/dbtech-social/...', '/dbtech-social/...', '/dbtech-social/...', 'El Templo de la...')
#11 src/XF/Mvc/Dispatcher.php(362): DBTech\SocialGroups\Pub\Controller\GroupController->actionJoin(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('DBTech\\SocialGr...', 'Join', Object(XF\Mvc\RouteMatch), Object(DBTech\SocialGroups\Pub\Controller\GroupController), NULL)
#13 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(DBTech\SocialGroups\Pub\Controller\GroupController), NULL)
#14 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2813): XF\Mvc\Dispatcher->run()
#16 src/XF.php(802): XF\App->run()
#17 index.php(23): XF::runApp('XF\\Pub\\App')
#18 {main}
 
Last edited:
  • ErrorException: Job DBTech\SocialGroups\Job\GroupDeleteCleanUp: [E_WARNING] Attempt to read property "Moderators" on null
  • src/addons/DBTech/SocialGroups/Entity/GroupMember.php:307

  • Generated by: Unknown account
  • Aug 27, 2024 at 6:13 PM


Stack trace​



#0 src/addons/DBTech/SocialGroups/Entity/GroupMember.php(307): XF::handlePhpError(2, '[E_WARNING] Att...', '/var/www/femdom...', 307)
#1 src/XF/Mvc/Entity/Entity.php(1715): DBTech\SocialGroups\Entity\GroupMember->_postDelete()
#2 src/addons/DBTech/SocialGroups/Service/Group/DeleteCleanUpService.php(154): XF\Mvc\Entity\Entity->delete()
#3 src/XF/MultiPartRunnerTrait.php(88): DBTech\SocialGroups\Service\Group\DeleteCleanUpService->stepDeleteGroupMembers(14, 7.99821)
#4 src/addons/DBTech/SocialGroups/Service/Group/DeleteCleanUpService.php(70): DBTech\SocialGroups\Service\Group\DeleteCleanUpService->runLoop(8)
#5 src/addons/DBTech/SocialGroups/Job/GroupDeleteCleanUp.php(44): DBTech\SocialGroups\Service\Group\DeleteCleanUpService->cleanUp(8)
#6 src/XF/Job/Manager.php(275): DBTech\SocialGroups\Job\GroupDeleteCleanUp->run(8)
#7 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#8 src/XF/Job/Manager.php(89): XF\Job\Manager->runJobEntry(Array, 8)
#9 job.php(46): XF\Job\Manager->runQueue(false, 8)
#10 {main}
 
Not if you want group moderators to also be flagged as forum moderators. I asked because it’s a less used code path (you’re the only one using it AFAIK), so I needed to know for testing purposes :)
 
I might just delete that code path then, since it does have ramifications (such as being unable to warn or ban social group moderators) that can’t adequately be explained in a help text.
 
Hello @Seeker-Smith,

We hope your ticket regarding DragonByte Social Groups has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 

DragonByte Social Groups

XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
97
Customer rating
0.00 star(s) 0 ratings
Back
Top