I have no idea yet if we have more such errors in the 4.0-dev branch.
Testing Instructions
Code review.
Actual result BEFORE applying this Pull Request
Wrong condition. On PHP 8.1+ it will raise an error due to trim with null argument, and (regardless of PHP version) the read more will be shown when the full text is null.
Expected result AFTER applying this Pull Request
Right condition. The read more and the full text are only added if the full text is not null and the trimmed full text is not an empty string.
Oops thanks!