Tickets Fixed `InvalidArgumentException: Accessed unknown getter 'event_id'`

Upon deleting a ticket:
InvalidArgumentException: Accessed unknown getter 'event_id' on NF\Tickets:Ticket[66] src/XF/Mvc/Entity/Entity.php:194

Stack trace:
Code:
#0 src/XF/Mvc/Entity/Entity.php(101): XF\Mvc\Entity\Entity->get('event_id')
#1 src/addons/NF/Tickets/Entity/Ticket.php(877): 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(244): 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}
 
Back
Top