LogicException: Attempted to set 'content_id' on a deleted entity in src/XF/Mvc/Entity/Entity.php at line 600
The deletion of a moderator doesn't remove him entirely. The attempt ro remove the remains lead to an error.
#0 src/XF/Mvc/Entity/Entity.php(582): XF\Mvc\Entity\Entity->set('content_id', 1)
#1 src/addons/vw/vw/XF/Entity/ModeratorContent.php(31): XF\Mvc\Entity\Entity->__set('content_id', 1)
#2 src/XF/Mvc/Entity/Entity.php(1664): vw\vw\XF\Entity\ModeratorContent->_postDelete()
#3 src/XF/ControllerPlugin/Delete.php(18): XF\Mvc\Entity\Entity->delete()
#4 src/XF/Admin/Controller/Moderator.php(320): XF\ControllerPlugin\Delete->actionDelete(Object(vw\vw\XF\Entity\ModeratorContent), '/forum/admin.ph...', '/forum/admin.ph...', '/forum/admin.ph...', 'carmaster ()')
#5 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Moderator->actionContentDelete(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Moderator', 'Contentdelete', Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Admin\Controller\Moderator), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(vw\vw\XF\Admin\Controller\Moderator), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 admin.php(13): XF::runApp('XF\\Admin\\App')
#12 {main}
Status der Anfrage
array(4) {
["url"] => string(45) "/forum/admin.php?moderators/content/17/delete"
["referrer"] => string(51) "https://xxx/forum/admin.php?moderators/"
["_GET"] => array(1) {
["moderators/content/17/delete"] => string(0) ""
}
["_POST"] => array(4) {
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(28) "/forum/admin.php?moderators/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}