Issue #3320368 by phenaproxima, Binoli Lalani: trim(): Passing null to parameter #1 ($string) of type string is deprecated