Tickets Fixed InvalidArgumentException: Accessed unknown getter 'event_id' on NF\Tickets:Ticket[1406] src\XF\Mvc\Entity\Entity.php:194

SeToY

Well-Known Member
When deleting a ticket:

Code:
Server error log
[LIST]
[*]InvalidArgumentException: Accessed unknown getter 'event_id' on NF\Tickets:Ticket[1406]
[*]src\XF\Mvc\Entity\Entity.php:194
[*]Generated by: SeToY
[*]7 Jun 2019 at 15:07
[/LIST]
Stack trace
#0 src\XF\Mvc\Entity\Entity.php(101): XF\Mvc\Entity\Entity->get('event_id')
#1 src\addons\NF\Tickets\Entity\Ticket.php(867): XF\Mvc\Entity\Entity->__get('event_id')
#2 src\XF\Mvc\Entity\Entity.php(1580): NF\Tickets\Entity\Ticket->_postDelete()
#3 src\addons\NF\Tickets\Service\Ticket\Deleter.php(70): XF\Mvc\Entity\Entity->delete()
#4 src\addons\NF\Tickets\Pub\Controller\Ticket.php(770): NF\Tickets\Service\Ticket\Deleter->delete('hard', '')
#5 src\XF\Mvc\Dispatcher.php(321): NF\Tickets\Pub\Controller\Ticket->actionDelete(Object(XF\Mvc\ParameterBag))
#6 src\XF\Mvc\Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets:Tick...', 'Delete', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#7 src\XF\Mvc\Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), NULL)
#8 src\XF\Mvc\Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src\XF\App.php(2177): XF\Mvc\Dispatcher->run()
#10 src\XF.php(390): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}
Is my data now in an inconsistent state?
 

NixFifty

Administrator
Staff member
Thanks, this is fixed.

No, your data is fine. This gets cleaned up over time anyway.
 

UNKNOWN PH

New Member
is it just the same to me or is it not a problem of how good the town is please take a look at the screenshot thanks
 

Attachments

Top