How to reproduce:
In frs service try to submit a new release with a name who already exists for the package
A fatal error is thrown
<br />
<font size='1'><table class='xdebug-error xe-uncaught-exception' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /usr/share/tuleap/src/common/FRS/FRSValidator.php on line <i>60</i></th></tr>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /usr/share/tuleap/src/common/FRS/FRSValidator.php on line <i>60</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0005</td><td bgcolor='#eeeeec' align='right'>366640</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/usr/share/tuleap/src/www/file/admin/frsajax.php' bgcolor='#eeeeec'>.../frsajax.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0379</td><td bgcolor='#eeeeec' align='right'>3477160</td><td bgcolor='#eeeeec'>Tuleap\FRS\FRSValidator->isValidForCreation( <span>$release = </span><span>['name' => 'A', 'package_id' => '54', 'date' => '2022-09-14']</span>, <span>$group_id = </span><span>139</span> )</td><td title='/usr/share/tuleap/src/www/file/admin/frsajax.php' bgcolor='#eeeeec'>.../frsajax.php<b>:</b>105</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0399</td><td bgcolor='#eeeeec' align='right'>3489560</td><td bgcolor='#eeeeec'><a href='http://www.php.net/function.count' target='_new'>count</a>( <span>$value = </span><span>'2'</span> )</td><td title='/usr/share/tuleap/src/common/FRS/FRSValidator.php' bgcolor='#eeeeec'>.../FRSValidator.php<b>:</b>60</td></tr>
</table></font>