Error code 500

TypeError : Cannot read properties of undefined (reading '0')