Fixed Error on dealing with Approval Queue

jadmperry

Well-known member
Affected version
2.0
I have come across this error several times on acting on posts/threads in the Approval Queue:


"ErrorException: [E_RECOVERABLE_ERROR] Argument 2 passed to XF\ApprovalQueue\AbstractHandler::performAction() must be an instance of XF\Mvc\Entity\Entity, null given, called in /home/xxxxxxx/public_html/src/XF/Pub/Controller/ApprovalQueue.php on line 52 and defined in src/XF/ApprovalQueue/AbstractHandler.php at line 104
  1. XF::handlePhpError() in src/XF/ApprovalQueue/AbstractHandler.php at line 104
  2. XF\ApprovalQueue\AbstractHandler->performAction() in src/XF/Pub/Controller/ApprovalQueue.php at line 52
  3. XF\Pub\Controller\ApprovalQueue->actionProcess() in src/XF/Mvc/Dispatcher.php at line 249
  4. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1879
  7. XF\App->run() in src/XF.php at line 328
  8. XF::runApp() in index.php at line 13"

Any ideas what this about?
 
I can only guess this is from content being (hard) deleted between you choosing the action and then actually acting on it. I have worked around this now.
 
I can only guess this is from content being (hard) deleted between you choosing the action and then actually acting on it. I have worked around this now.

Thanks, Mike.

Given my huge and vaunted knowledge of things, I agree. (joke at my own expense).

What do you mean by you "have worked around this?"

Is this something that will be addressed in a future release?
 
Back
Top Bottom