Jump to content

Failing task which is blocking up the background task queue


Recommended Posts

Hi,

I recently had a user request to delete their account via the Deletion Requests form. I approved this. However, it has created some background tasks which are erroring and blocking other background tasks from running.

I have attached a screenshot to show this. The blocking tasks are named "Merging <deleted user> posts".

This is the error log from the failing task.

TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\ArchivedPost given, called in /var/www/vhosts/<path removed>/httpdocs/system/Content/Comment.php on line 1360 (0)
#0 /var/www/vhosts/<path removed>/httpdocs/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment()
#1 /var/www/vhosts/<path removed>/httpdocs/applications/core/extensions/core/Queue/MemberContent.php(137): IPS\Content\_Comment->changeAuthor()
#2 /var/www/vhosts/<path removed>/httpdocs/system/Task/Task.php(54): IPS\core\extensions\core\Queue\_MemberContent->run()
#3 /var/www/vhosts/<path removed>/httpdocs/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue()
#4 /var/www/vhosts/<path removed>/httpdocs/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}()
#5 /var/www/vhosts/<path removed>/httpdocs/applications/core/modules/admin/system/background.php(138): IPS\Helpers\_MultipleRedirect->__construct()
#6 /var/www/vhosts/<path removed>/httpdocs/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\system\_background->process()
#7 /var/www/vhosts/<path removed>/httpdocs/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute()
#8 /var/www/vhosts/<path removed>/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute()
#9 /var/www/vhosts/<path removed>/httpdocs/admin/index.php(13): IPS\_Dispatcher->run()
#10 {main}

 

Any ideas how to work around this and unblock my tasks queue?

Thanks.

Could contain: Page, Text

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...