Duplicate Inline Moderation Error Moving Media

rfc0001

Well-known member
Affected version
2.0.5
Getting following error:


Code:
Error: Call to a member function canSendModeratorActionAlert() on null src/addons/XFMG/InlineMod/Media/Move.php:163
Generated by: Russ Dec 1, 2018 at 12:06 PM
Stack trace
#0 src/XF/InlineMod/AbstractAction.php(80): XFMG\InlineMod\Media\Move->applyInternal(Object(XF\Mvc\Entity\ArrayCollection), Array)
#1 src/XF/Pub/Controller/InlineMod.php(131): XF\InlineMod\AbstractAction->apply(Object(XF\Mvc\Entity\ArrayCollection), Array)
#2 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\InlineMod->actionPerform(Object(XF\Mvc\ParameterBag))
#3 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))
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#6 src/XF.php(329): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}

Consistent repro on XF 2.0.10/MG 2.0.5:
  1. Select multiple photos
  2. Click Move in inline moderation
  3. Select Notify author of this action. Reason:
  4. Click Move. Get a "Oops! We ran into some problems. Please try again later. More error details may be in the browser console." error. Check server logs and see above, however photos were actually moved despite error.
 
Last edited:
Back
Top Bottom