Bug 367548 - Php error on profile edit page; Os list is empty
Summary: Php error on profile edit page; Os list is empty
Status: RESOLVED FIXED
Alias: None
Product: forum.kde.org
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KDE Forum Administrators
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 08:12 UTC by Bernhard Scheirle
Modified: 2016-08-19 20:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Scheirle 2016-08-19 08:12:42 UTC
If I are logged in and open: https://forum.kde.org/ucp.php?i=profile&mode=profile_info
there is a php error displayed at the top of the page: 
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_profile_fields.php on line 868: Invalid argument supplied for foreach()

In addition the os drop down menu is empty.

Reproducible: Always

Steps to Reproduce:
1. Log in
2. Open: https://forum.kde.org/ucp.php?i=profile&mode=profile_info

Actual Results:  
Php error; Empty OS list

Expected Results:  
No php error; Non empty os list
Comment 1 Ben Cooksley 2016-08-19 12:02:11 UTC
Have you changed your language?
Comment 2 Bernhard Scheirle 2016-08-19 12:06:27 UTC
> Have you changed your language?

Yes, I'm using the "German (Sie)" language.
Comment 3 Bernhard Scheirle 2016-08-19 12:32:30 UTC
I tried a few other languages and it seems like only "British English" does work correctly.
Comment 4 Ben Cooksley 2016-08-19 19:54:33 UTC
Can you please try now? I've just made a change and tested both the Du and Sie German variants and it seemed to work fine here - certainly no PHP error and I could definitely change my OS field.
Comment 5 Bernhard Scheirle 2016-08-19 20:14:03 UTC
Works here now too, thanks.