- Affected version
- 2.2.10 P1
PHP:
Server error log
LogicException: Cannot delete an entity that has been partially updated src/XF/Mvc/Entity/Entity.php:1589
Generated by: Unknown account Sep 6, 2022 at 4:10 PM
Stack trace
#0 src/XF/Repository/Attachment.php(353): XF\Mvc\Entity\Entity->delete()
#1 src/XF/Cron/CleanUp.php(124): XF\Repository\Attachment->deleteUnusedAttachmentData()
#2 src/XF/Job/Cron.php(37): XF\Cron\CleanUp::runHourlyCleanUp(Object(XF\Entity\CronEntry))
#3 src/XF/Job/Manager.php(260): XF\Job\Cron->run(12.3652)
#4 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 12.3652)
#5 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 12.3652)
#6 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 30)
#7 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 src/XF/Cli/Runner.php(111): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 cmd.php(15): XF\Cli\Runner->run()
#13 {main}
Request state
array(1) {
["cli"] => string(59) "/cmd.php xf:run-jobs"
}