Tickets Cannot Reproduce Convert to thread error

Test375

Member
Convert to thread is working, but it throws up an error when I click it:

Code:
LogicException: Attempted to set 'first_post_reaction_score' while a save was pending without forceSet in src/XF/Mvc/Entity/Entity.php at line 575

    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 548
    XF\Mvc\Entity\Entity->__set() in src/XF/Entity/Post.php at line 518
    XF\Entity\Post->_postSave() in src/addons/ThemeHouse/XPress/XF/Entity/Post.php at line 25
    ThemeHouse\XPress\XF\Entity\Post->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1219
    XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1213
    XF\Mvc\Entity\Entity->save() in src/XF/Entity/Post.php at line 524
    XF\Entity\Post->_postSave() in src/addons/ThemeHouse/XPress/XF/Entity/Post.php at line 25
    ThemeHouse\XPress\XF\Entity\Post->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1219
    XF\Mvc\Entity\Entity->save() in src/XF/Reaction/AbstractHandler.php at line 107
    XF\Reaction\AbstractHandler->updateContentReactions() in src/XF/Repository/Reaction.php at line 274
    XF\Repository\Reaction->rebuildContentReactionCache() in src/XF/Entity/ReactionContent.php at line 198
    XF\Entity\ReactionContent->rebuildContentReactionCache() in src/XF/Entity/ReactionContent.php at line 140
    XF\Entity\ReactionContent->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1219
    XF\Mvc\Entity\Entity->save() in src/XF/Repository/Reaction.php at line 189
    XF\Repository\Reaction->insertReaction() in src/XF/Repository/Reaction.php at line 142
    XF\Repository\Reaction->reactToContent() in src/addons/NF/Tickets/Service/Ticket/Converter/ToThread.php at line 154
    NF\Tickets\Service\Ticket\Converter\ToThread->NF\Tickets\Service\Ticket\Converter\{closure}() in src/XF.php at line 479
    XF::asVisitor() in src/addons/NF/Tickets/Service/Ticket/Converter/ToThread.php at line 156
    NF\Tickets\Service\Ticket\Converter\ToThread->copyReactions() in src/addons/NF/Tickets/Service/Ticket/Converter/ToThread.php at line 55
    NF\Tickets\Service\Ticket\Converter\ToThread->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
    XF\Service\Thread\Creator->save() in src/addons/NF/Tickets/Pub/Controller/Ticket.php at line 1634
    NF\Tickets\Pub\Controller\Ticket->actionConvertToThread() in src/XF/Mvc/Dispatcher.php at line 350
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2190
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in index.php at line 20
 

NixFifty

Administrator
Staff member
I can't reproduce this and it seems like it might actually be caused by whatever ThemeHouse/XPress is doing.
 
Top