XF 2.0 Error caused by moving posts

Mr Lucky

Well-known member
After a mod moved some posts, we got this error:

Code:
Server error log

    ErrorException: [E_NOTICE] Undefined offset: 23632 src/XF/Service/Post/Mover.php:245

    Generated by: Jeanette Jan 13, 2018 at 11:55 AM

Stack trace

#0 src/XF/Service/Post/Mover.php(245): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/caf/publi...', 245, Array)
#1 src/XF/Service/Post/Mover.php(135): XF\Service\Post\Mover->updateUserCounters()
#2 src/XF/InlineMod/Post/Move.php(39): XF\Service\Post\Mover->move(Array)
#3 src/XF/InlineMod/AbstractAction.php(80): XF\InlineMod\Post\Move->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#4 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#5 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:InlineMod', 'Perform', 'json', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\InlineMod), Object(XF\Mvc\Reply\Reroute))
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(12) "/inline-mod/"
  ["referrer"] => string(66) "https://cafesaxophone.com/threads/daddario-tenor-mouthpiece.21958/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(13) {
    ["thread_type"] => string(3) "new"
    ["node_id"] => string(2) "67"
    ["prefix_id"] => string(1) "0"
    ["title"] => string(38) "Moved form D'Addario Tenor Mouthpiece "
    ["ids"] => array(5) {
      [0] => string(6) "326847"
      [1] => string(6) "326848"
      [2] => string(6) "326849"
      [3] => string(6) "326851"
      [4] => string(6) "326852"
    }
    ["type"] => string(4) "post"
    ["action"] => string(4) "move"
    ["confirmed"] => string(1) "1"
    ["_xfRedirect"] => string(66) "https://cafesaxophone.com/threads/daddario-tenor-mouthpiece.21958/"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(41) "/threads/daddario-tenor-mouthpiece.21958/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete
 
Top Bottom