XF 2.1 Cannot run job with DeleteCleanUp.php: InvalidArgumentException

AlessioDP

Member
Hi,
I have a cron that is breaking our forum, whenever I enter into the ACP I have a message the message that there are some jobs waiting to complete, but if I continue to execute them I receive this error:
Code:
#0 src/XF/Mvc/Entity/Finder.php(132): XF\Mvc\Entity\Finder->buildCondition('bookmark_id', '>', Array)
#1 src/XF/Service/User/DeleteCleanUp.php(191): XF\Mvc\Entity\Finder->where('bookmark_id', '>', Array)
#2 src/XF/MultiPartRunnerTrait.php(48): XF\Service\User\DeleteCleanUp->stepDeleteBookmarks(Array, G)
#3 src/XF/Service/User/DeleteCleanUp.php(93): XF\Service\User\DeleteCleanUp->runLoop(G)
#4 src/XF/Job/UserDeleteCleanUp.php(32): XF\Service\User\DeleteCleanUp->cleanUp(G)
#5 src/XF/Job/Atomic.php(38): XF\Job\UserDeleteCleanUp->run(G)
#6 src/XF/Job/Manager.php(253): XF\Job\Atomic->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 src/XF/Admin/Controller/Tools.php(139): XF\Job\Manager->runQueue(true, 8)
#10 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#12 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#15 src/XF.php(390): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}

Is there a way to fix it?

ps. I don't know what cron is it exactly. I just have this pending one and I don't know how to read its name.
 
Actually figured it was that based on the first two lines of the stack trace there, but wanted to be sure.

I'm not sure really how this can happen - are you able to submit a ticket from your customer area? We'd ideally need to look at the database and have access to the files if that can be provided too.
 
Back
Top Bottom