Bug 367548

Summary: Php error on profile edit page; Os list is empty
Product: [Unmaintained] forum.kde.org Reporter: Bernhard Scheirle <bernhard+kde>
Component: generalAssignee: KDE Forum Administrators <forum-admin>
Status: RESOLVED FIXED    
Severity: normal CC: bcooksley
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.