I was attempting to mass convert threads to tickets and I guess I had a deleted user. This error popped up during the process:
Code:
TypeError: Argument 1 passed to NF\Tickets\Service\Ticket\Creator::setUser() must be an instance of XF\Entity\User, null given, called in /home/admin/domains/xxxx.com/public_html/x/src/addons/NF/Tickets/Service/Ticket/ThreadConverter.php on line 47 in src/addons/NF/Tickets/Service/Ticket/Creator.php at line 158
NF\Tickets\Service\Ticket\Creator->setUser() in src/addons/NF/Tickets/Service/Ticket/ThreadConverter.php at line 47
NF\Tickets\Service\Ticket\ThreadConverter->setThread() in src/addons/NF/Tickets/Service/Ticket/ThreadConverter.php at line 28
NF\Tickets\Service\Ticket\ThreadConverter->__construct() in src/XF/Container.php at line 270
XF\Container->createObject() in src/XF/App.php at line 1665
XF\App->XF\{closure}() in src/XF/Container.php at line 228
XF\Container->create() in src/XF/App.php at line 2953
XF\App->service() in src/addons/NF/Tickets/InlineMod/Thread/ToTicket.php at line 41
NF\Tickets\InlineMod\Thread\ToTicket->applyToEntity() in src/XF/InlineMod/AbstractAction.php at line 87
XF\InlineMod\AbstractAction->applyInternal() in src/XF/InlineMod/AbstractAction.php at line 80
XF\InlineMod\AbstractAction->apply() in src/XF/Pub/Controller/InlineMod.php at line 131
XF\Pub\Controller\InlineMod->actionPerform() 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 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in index.php at line 20