Jump to content

Background processes impossible to run now


Go to solution Solved by Adriano Faria,

Recommended Posts

I was trying to remove members without any activity in last 12 months as every month, but theres some error when i try to run background processes now 🤔 This has never happened before 🤔 version 4.7.15

The URL of page the error occurred on was https://www.techforum.cz/admin/?app=core&module=system&controller=background&do=process&csrfKey=bbe5cebf20a400d64c8b19f51a963e97&mr=1

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

#0 /srv/www/sites/techforum.cz/www/init.php(1036): IPS\_Log::log()
#1 [internal function]: IPS\IPS::exceptionHandler()
#2 {main}

 

Edited by Vodafone CZ
Link to comment
Share on other sites

  • Recently Browsing   0 members

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