Tickets LogicException: Entity is read only

Affected version
2.3.0

ivp

Member
In Server error log seeing errors like (replaced personal identifiable information with "..."):
  • LogicException: Entity is read only
  • src/XF/Mvc/Entity/Entity.php:579
  • Generated by: ...
  • 03.06.2021. u 22:19

Stack trace​

#0 src/XF/Mvc/Entity/Entity.php(567): XF\Mvc\Entity\Entity->set('alerts_unviewed', 6)
#1 src/XF/Repository/UserAlert.php(487): XF\Mvc\Entity\Entity->__set('alerts_unviewed', 6)
#2 src/XF/Db/AbstractAdapter.php(455): XF\Repository\UserAlert->XF\Repository\{closure}(Object(XF\Db\Mysqli\Adapter))
#3 src/XF/Repository/UserAlert.php(490): XF\Db\AbstractAdapter->executeTransaction(Object(Closure), 1)
#4 src/addons/NF/Tickets/Pub/Controller/Ticket.php(304): XF\Repository\UserAlert->markUserAlertsReadForContent('nf_tickets_mess...', Array)
#5 src/XF/Mvc/Dispatcher.php(350): NF\Tickets\Pub\Controller\Ticket->actionView(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('NF\\Tickets\\Pub\\...', 'View', Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Tickets\Pub\Controller\Ticket), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#10 src/XF.php(488): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state​

array(4) {
["url"] => string(22) "/tickets/.../"
["referrer"] => string(58) "..."
["_GET"] => array(1) {
["..."] => string(0) ""
}
["_POST"] => array(0) {
}
}
 
Top