Philooo Posted February 20 Posted February 20 Since some weeks, I got regularly (not always) errors when validating new member. The error says : TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /home/uumcgwyc/public_html/forums/system/Content/Comment.php on line 1360 (0) #0 /home/uumcgwyc/public_html/forums/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment() #1 /home/uumcgwyc/public_html/forums/system/Member/Member.php(4869): IPS\Content\_Comment->changeAuthor() #2 /home/uumcgwyc/public_html/forums/system/Member/Member.php(4821): IPS\_Member->_processPostBeforeRegistering() #3 /home/uumcgwyc/public_html/forums/applications/core/modules/admin/members/members.php(2630): IPS\_Member->validationComplete() #4 /home/uumcgwyc/public_html/forums/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\members\_members->approve() #5 /home/uumcgwyc/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #6 /home/uumcgwyc/public_html/forums/admin/index.php(13): IPS\_Dispatcher->run() #7 {main}
Recommended Posts