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: https://www.dropbox.com/s/5dskr5nt62cf9xv/Screenshot%202018-11-22%2015.28.57.png?dl=0 Here's the error: https://www.dropbox.com/s/6xusgq0ucj0ro1p/Screenshot%202018-11-22%2015.29.05.png?dl=0 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.