<h4>Users Settings — TypeError Fix</h4><ul><li><strong>Fixed:</strong> TypeError: Cannot read properties of undefined (reading 'default') at credentials.php:287. The code iterated over field keys ['purpose','acct_type','address','phone','role'] and accessed <code>fields[field].default</code> for 'acct_type' without checking if <code>fields[field]</code> exists first. When the signupfields JSON doesn't contain 'acct_type', <code>fields['acct_type']</code> is undefined and <code>.default</code> crashes. Added <code>typeof fields[field] \!== 'undefined'</code> guard.</li></ul><p><strong>File:</strong> platform/settings/users/inc/credentials.php (line 287)</p>