strlen() was used in Phabricator to check if a generic value is a non-empty string.
But, that function does not accept null anymore since PHP 8.1.
Closes T15396
Differential D25227
Fix PHP 8.1 "strlen(null)" exception which blocks rendering "Browse Dashboards" dialog aklapper on May 13 2023, 11:24. Authored by
Details strlen() was used in Phabricator to check if a generic value is a non-empty string. But, that function does not accept null anymore since PHP 8.1. Closes T15396
Diff Detail
Event Timeline
Comment Actions Thanks for your update I tested this locally without any implosion even if I was honestly not able to reproduce a null case while visiting the /dashboard/ page. Anyway, this is 100% legit to me. (#WikimediaHackaton) |