• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)

[FIXED] Delete Event

Tealk

Member
I get this error when I delete an event.

Code:
Server error log

    InvalidArgumentException: Accessed unknown getter 'comment_ids' on Truonglv\Groups:Event[18] src/XF/Mvc/Entity/Entity.php:194

    Generated by: Tealk Mar 12, 2019 at 10:02 PM

Stack trace

#0 src/XF/Mvc/Entity/Entity.php(101): XF\Mvc\Entity\Entity->get('comment_ids')
#1 src/addons/Truonglv/Groups/Entity/Event.php(255): XF\Mvc\Entity\Entity->__get('comment_ids')
#2 src/XF/Behavior/IndexableContainer.php(112): Truonglv\Groups\Entity\Event::Truonglv\Groups\Entity\{closure}(Object(Truonglv\Groups\Entity\Event))
#3 src/XF/Behavior/IndexableContainer.php(84): XF\Behavior\IndexableContainer->getChildIds()
#4 src/XF/Mvc/Entity/Entity.php(1614): XF\Behavior\IndexableContainer->preDelete()
#5 src/XF/ControllerPlugin/Delete.php(11): XF\Mvc\Entity\Entity->preDelete()
#6 src/addons/Truonglv/Groups/Pub/Controller/Event.php(393): XF\ControllerPlugin\Delete->actionDelete(Object(Truonglv\Groups\Entity\Event), '/groups/events/...', '/groups/events/...', '/groups/fate-sc...', '(Aborea) Die Re...')
#7 src/XF/Mvc/Dispatcher.php(321): Truonglv\Groups\Pub\Controller\Event->actionDelete(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Delete', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Event), NULL)
#9 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Event), NULL)
#10 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(59) "/groups/events/aborea-die-rettung-des-tabernakels.18/delete"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(53) "/groups/events/aborea-die-rettung-des-tabernakels.18/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top