Description of the issue:
When clicking on the registration button having the "I am a customer" radio button selected, registration does not work and an error is seen on the console screen. However, it works fine when the user selects the "I am a vendor" button first and then selects "I am a customer" back.
Screenshot:
https://snipboard.io/tEH7eL.jpg
To reproduce:
Navigate to the My Account page and try signing up as a customer.
Expected behavior
Users should be able to register as a customer without having to select the "I am a vendor" button first and then switching back to "I am a customer".
System Status:
Dokan theme: [v2.3.7]
Dokan lite plugin: [v3.7.15]
WooCommerce: [v7.5.1]
WordPress: [v6.2]