Tickets Fixed InvalidArgumentException: Accessed unknown getter 'priority' on XF:User[9434] src\XF\Mvc\Entity\Entity.php:194

SeToY

Well-Known Member
When reassigning a ticket without a priority:

Code:
Stack trace
#0 src\XF\Mvc\Entity\Entity.php(106): XF\Mvc\Entity\Entity->get('priority')
#1 internal_data\code_cache\templates\l2\s0\public\alert_user_nf_tickets_reassign_from.php(6): XF\Mvc\Entity\Entity->offsetGet('priority')
#2 src\XF\Template\Templater.php(1315): XF\Template\Templater->{closure}(Object(SV\ConversationEssentials\XF\Template\Templater), Array)
#3 src\addons\vw\vw\XF\Template\Templater.php(789): XF\Template\Templater->renderTemplate('alert_user_nf_t...', Array, true)
#4 src\XF\Service\PusherTrait.php(90): vw\vw\XF\Template\Templater->renderTemplate('public:alert_us...', Array)
#5 src\XF\Service\Alert\Pusher.php(60): XF\Service\Alert\Pusher->renderPushTemplate('public:alert_us...', Array)
#6 src\XF\Service\PusherTrait.php(152): XF\Service\Alert\Pusher->getNotificationBody()
#7 src\XF\Repository\UserAlert.php(147): XF\Service\Alert\Pusher->push()
#8 src\XF\Repository\UserAlert.php(111): XF\Repository\UserAlert->insertAlert(9434, 0, '', 'user', 9434, 'nf_tickets_reas...', Array)
#9 src\addons\NF\Tickets\Repository\Ticket.php(231): XF\Repository\UserAlert->alert(Object(SV\SignupAbuseBlocking\XF\Entity\User), 0, '', 'user', 9434, 'nf_tickets_reas...', Array)
#10 src\addons\NF\Tickets\Service\Ticket\Reassign.php(42): NF\Tickets\Repository\Ticket->sendModeratorActionAlert(Object(SV\CustomFieldPerms\NF\Tickets\Entity\Ticket), 'reassign_from', '', Array, Object(SV\SignupAbuseBlocking\XF\Entity\User))
#11 src\addons\NF\Tickets\Pub\Controller\Ticket.php(1158): NF\Tickets\Service\Ticket\Reassign->reassignTo(Object(SV\SignupAbuseBlocking\XF\Entity\User))
#12 src\XF\Mvc\Dispatcher.php(321): NF\Tickets\Pub\Controller\Ticket->actionReassign(Object(XF\Mvc\ParameterBag))
#13 src\XF\Mvc\Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Reassign', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#14 src\XF\Mvc\Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#15 src\XF\Mvc\Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#16 src\XF\App.php(2178): XF\Mvc\Dispatcher->run()
#17 src\XF.php(390): XF\App->run()
#18 index.php(20): XF::runApp('XF\\Pub\\App')
#19 {main}
 
Top