Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if user has no country and list should show country #803

Closed
Fasse opened this issue Jun 22, 2018 · 0 comments
Closed

Error if user has no country and list should show country #803

Fasse opened this issue Jun 22, 2018 · 0 comments
Assignees
Milestone

Comments

@Fasse
Copy link
Member

Fasse commented Jun 22, 2018

If you create your own list with the profile field country and than select a role where at least 1 user doesn't has a country you got the following error:

Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Invalid country-iso-code!' in /admidio/adm_program/system/classes/Language.php:213 Stack trace: #0 /admidio/adm_program/modules/lists/lists_show.php(745): Language->getCountryName(NULL) #1 {main} thrown in /admidio/adm_program/system/classes/Language.php on line 213

forum https://www.admidio.org/forum/viewtopic.php?f=3&t=7932#p28474

@Fasse Fasse added this to the 3.3.5 milestone Jun 22, 2018
@Fasse Fasse self-assigned this Jun 22, 2018
@Fasse Fasse closed this as completed Jun 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant