Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 25, 20241 yr 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, 20241 yr by adik
January 25, 20241 yr What is your forum version and what was the latest change done to the forum prior to this happening?
January 25, 20241 yr Author @Miss_B problem occurred after upgrade to version 4.7.15, no other changes
January 25, 20241 yr Reproducible - the error isn't seen at the time of the deletion, but instead later when the queue task runs.
January 26, 20241 yr Author @Daniel F and how is the case? When connecting users is the same situation. And all tasks stand still
January 29, 20241 yr 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
January 29, 20241 yr Author @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}
January 29, 20241 yr Solution 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.
January 29, 20241 yr Author @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}
January 29, 20241 yr 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.