adik Posted January 25 Share Posted January 25 (edited) TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /public/system/Content/Comment.php on line 1360 (0) #0 /public/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment() #1 /public/applications/core/extensions/core/Queue/MemberContent.php(137): IPS\Content\_Comment->changeAuthor() #2 /public/system/Task/Task.php(54): IPS\core\extensions\core\Queue\_MemberContent->run() #3 /public/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue() #4 /public/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}() #5 /public/applications/core/modules/admin/system/background.php(138): IPS\Helpers\_MultipleRedirect->__construct() #6 /public/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\system\_background->process() #7 /public/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute() #8 /public/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute() #9 /public/admin/index.php(13): IPS\_Dispatcher->run() #10 {main} Error during user deletion process Invision Community: 4.7.15 Edited January 25 by adik Metor 1 Link to comment Share on other sites More sharing options...
Miss_B Posted January 25 Share Posted January 25 What is your forum version and what was the latest change done to the forum prior to this happening? Link to comment Share on other sites More sharing options...
adik Posted January 25 Author Share Posted January 25 @Miss_B problem occurred after upgrade to version 4.7.15, no other changes Link to comment Share on other sites More sharing options...
Nathan Explosion Posted January 25 Share Posted January 25 Reproducible - the error isn't seen at the time of the deletion, but instead later when the queue task runs. adik, Miss_B, Vodafone CZ and 1 other 2 2 Link to comment Share on other sites More sharing options...
Miss_B Posted January 25 Share Posted January 25 It looks like this could be a bug. Link to comment Share on other sites More sharing options...
adik Posted January 25 Author Share Posted January 25 Any hot fix? Actually, due to this bug, all tasks stop. Link to comment Share on other sites More sharing options...
Daniel F Posted January 25 Share Posted January 25 We're investigating this right now. adik, Vodafone CZ and Metor 2 1 Link to comment Share on other sites More sharing options...
adik Posted January 26 Author Share Posted January 26 @Daniel F and how is the case? When connecting users is the same situation. And all tasks stand still Link to comment Share on other sites More sharing options...
Marc Posted January 29 Share Posted January 29 On 1/26/2024 at 12:50 PM, adik said: @Daniel F and how is the case? When connecting users is the same situation. And all tasks stand still We're aware, and will have something as soon as we can Link to comment Share on other sites More sharing options...
adik Posted January 29 Author Share Posted January 29 @Marc Stridgen ok. In the logs I also see a recurring error for the address e.g. index.php?app=core&do=validate&vid=01a9f0cb78f4098f45fe38cb61599ffec&mid=936738&key=5cc9b234c752068fdaaaee44e5845de858f79fe8158c20d0e158a5eacba9acc10&email=1&type=registration_validate TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in public/system/Content/Comment.php on line 1360 (0) #0 public/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment() #1 public/system/Content/Item.php(3047): IPS\Content\_Comment->changeAuthor() #2 public/system/Member/Member.php(4869): IPS\Content\_Item->changeAuthor() #3 public/system/Member/Member.php(4821): IPS\_Member->_processPostBeforeRegistering() #4 public/system/Member/Member.php(4804): IPS\_Member->validationComplete() #5 public/applications/core/modules/front/system/register.php(800): IPS\_Member->emailValidationConfirmed() #6 public/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_register->validate() #7 public/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 public/index.php(13): IPS\_Dispatcher->run() #9 {main} Link to comment Share on other sites More sharing options...
Solution Stuart Silvester Posted January 29 Solution Share Posted January 29 We have released a patch for this issue. To apply, please go to AdminCP > Support > 1st (or top left) box will have a "Optional Patch Available" link. Click it and follow the instructions. Marc, Vodafone CZ, adik and 1 other 3 1 Link to comment Share on other sites More sharing options...
adik Posted January 29 Author Share Posted January 29 @Stuart Silvester how can I fix the "broken users" where I used the connect tool? When they log into their account, they have the error: Error: Call to undefined method IPS\core\modules\front\system\register::save() (0) #0 public/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_register->validating() #1 public/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #2 public/index.php(13): IPS\_Dispatcher->run() #3 {main} Link to comment Share on other sites More sharing options...
Daniel F Posted January 29 Share Posted January 29 46 minutes ago, adik said: @Stuart Silvester how can I fix the "broken users" where I used the connect tool? When they log into their account, they have the error: Error: Call to undefined method IPS\core\modules\front\system\register::save() (0) #0 public/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_register->validating() #1 public/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #2 public/index.php(13): IPS\_Dispatcher->run() #3 {main} Thanks, that's another issue which was not related to the previous bug. I have fixed this for an upcoming release. Marc, David N. and adik 3 Link to comment Share on other sites More sharing options...
Recommended Posts