Property 'then' does not exist on type 'Element' in Wix error. HELP!!!!

https://www.wix.com/velo/forum/coding-with-velo/populating-customfields-wix-member-backend