The renderExcerpt FUNCTION give a crash
release: Vanilla 2021.011
when click on the Comments in the profile page of certain users, the code cause an error and display "Something as gone wrong".
The file that cause the error is profilecomments.php
at row 27 there's:
<?php echo htmlspecialchars(Gdn::formatService()->renderExcerpt ($Comment->Body, $Comment->Format)); ?>
The debug return this message about the paramaters passed to renderExcerpt: "must be of the type string, null given"
In fact, the users have comments that can be read also doing a search by user.
the tip can be a way to replace the NULL when given (perhaps due a database error) with an empity string.
Someone can help givin' the code, please?