collantphile
Active member
It doesn't work for me, I use Xenforo version 2.3 on my forum. Please, I need help to resolve my blockage.
When I want to open a thread, I have this error: Attempted to set 'type_data' while a save was pending without forceSet
While awaiting, I uninstalled the addon.
When I want to open a thread, I have this error: Attempted to set 'type_data' while a save was pending without forceSet
Code:
Server error log
LogicException: Attempted to set 'type_data' while a save was pending without forceSet src/XF/Mvc/Entity/
Entity.php:639
Generated by: Collantphile Apr 8, 2025 at 3:56 AM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(612): XF\Mvc\Entity\Entity->set('type_data', Array)
#1 src/addons/OzzModz/ThreadTypeCompetition/ThreadType/Competition.php(871): XF\Mvc\Entity\Entity->__set('type_data', Array)
#2 src/addons/OzzModz/ThreadTypeCompetition/ThreadType/Competition.php(820): OzzModz\ThreadTypeCompetition\ThreadType\Competition->competitionStartCloseCriteriaChanged(Object(SV\AggregatingForums\XF\Entity\Thread))
#3 src/XF/Entity/Post.php(617): OzzModz\ThreadTypeCompetition\ThreadType\Competition->onPostSave(Object(SV\AggregatingForums\XF\Entity\Thread), Object(MMO\ReputationSystem\XF\Entity\Post))
#4 src/XF/Mvc/Entity/Entity.php(1324): XF\Entity\Post->_postSave()
#5 src/XF/Mvc/Entity/Entity.php(1318): XF\Mvc\Entity\Entity->save(true, false)
#6 src/XF/Service/Thread/CreatorService.php(533): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Service/ValidateAndSavableTrait.php(42): XF\Service\Thread\CreatorService->_save()
#8 src/XF/Pub/Controller/ForumController.php(961): XF\Service\Thread\CreatorService->save()
#9 src/XF/Mvc/Dispatcher.php(362): XF\Pub\Controller\ForumController->actionPostThread(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#11 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\StandardLib\XF\Pub\Controller\Forum), NULL)
#12 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#14 src/XF.php(806): XF\App->run()
#15 index.php(23): XF::runApp('XF\\Pub\\App')
#16 {main}
While awaiting, I uninstalled the addon.
Last edited: