Skip to main content

Liquid Error on Country Menu

Hello! I'm getting a liquid error on the country collection_select menu on signup forms, if the user has no address. Here's the country select menu code: Here's the error: It appears that when the home_address object is nil, it causes an error in Liquid. To replicate this, use the code I posted above in a signup form, then go to your profile in the control panel and delete your home address. Then go to the signup form and you should see the error. Thanks!

Share this post

Showing 3 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.