Error changing username's

Permalink
Every time I try and change a username in a fresh install (5.7.5.1) I get the following error.
It doesn't matter which user I try and change, this happens changing any user....?
Ive downloaded and installed this 3 times, all with identical results.

Am i doing something wrong or is this a true bug?

I went to Members, chosen the appropriate user to update, click the blue username, update, and click the save button. Then immediately we get this error.
{"error":{"type":"Whoops\\Exception\\ErrorException","message":"Invalid argument supplied for foreach()","file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/elements\/attribute\/editable_list.php","line":1,"trace":[{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/elements\/attribute\/editable_list.php","line":1,"function":null,"class":"Whoops\\Exception\\ErrorException","args":["Invalid argument supplied for foreach()"]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/elements\/attribute\/editable_list.php","line":1,"function":"handleError","class":"Whoops\\Run","args":[2,"Invalid argument supplied for foreach()","\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/elements\/attribute\/editable_list.php",1,{"_file":"attribute\/editable_list","args":{"attributes":null,"object":{"error":"","uID":"2","uLastLogin":"0","uLastIP":null,"uIsValidated":"-1","uPreviousLogin":"0","uIsFullRecord":"1","uNumLogins":"0","uDateAdded":"2015-09-02 10:50:36","uIsActive":"1","uDefaultLanguage":"en_US","uLastOnline":"0","uHasAvatar":"0","uName":"jpierre","uEmail":"jp.charrier@sciascia.co.nz","uPassword":"$2a$12$CRKAHL1x8Cc\/rme5Z1bOGeVzTG4eyQ2fmAG1viW2xm.cA7U325X8m","uTimezone":null,"uLastPasswordChange":"2015-09-02 10:50:36"},"saveAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/update_attribute\/2","clearAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/clear_attribute\/2","permissionsArguments":{"attributes":["12","13","16"]},"permissionsCallback":{}},"_pkgHandle":null,"collisions":null,"attributes":null,"object":{"error":"","uID":"2","uLastLogin":"0","uLastIP":null,"uIsValidated":"-1","uPreviousLogin":"0","uIsFullRecord":"1","uNumLogins":"0","uDateAdded":"2015-09-02 10:50:36","uIsActive":"1","uDefaultLanguage":"en_US","uLastOnline":"0","uHasAvatar":"0","uName":"jpierre","uEmail":"jp.charrier@sciascia.co.nz","uPassword":"$2a$12$CRKAHL1x8Cc\/rme5Z1bOGeVzTG4eyQ2fmAG1viW2xm.cA7U325X8m","uTimezone":null,"uLastPasswordChange":"2015-09-02 10:50:36"},"saveAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/update_attribute\/2","clearAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/clear_attribute\/2","permissionsArguments":{"attributes":["12","13","16"]},"permissionsCallback":{},"view":{"controller":{"token":{},"c":{"cID":"13","error":false,"pkgID":"0","cPointerID":"0","cPointerExternalLink":null,"cIsActive":"1","cPointerExternalLinkNewWindow":"0","cFilename":"\/dashboard\/users\/search.php","ptID":"0","cDateAdded":"2015-09-02 10:39:20","cDisplayOrder":"0","cDateModified":"2015-09-02 10:39:20","cInheritPermissionsFromCID":"2","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"\/dashboard\/users\/search","cParentID":"12","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0","isMasterCollection":"0","vObj":{"cvIsApproved":"1","cID":"13","layoutStyles":[],"error":"","cvID":"1","cvIsNew":"0","cvHandle":"search","cvName":"Search Users","cvDescription":"","cvDateCreated":"2015-09-02 10:39:20","cvDatePublic":"2015-09-02 10:39:20","pTemplateID":"0","cvAuthorUID":"1","cvApproverUID":null,"cvComments":"Initial Version","pThemeID":"1","isMostRecent":true},"cPathFetchIsCanonical":true,"pkgHandle":false},"assignment":{"duration":null,"accessType":null,"accessEntity":null,"paID":null,"error":"","allowEditUTimezone":1,"allowEditUDefaultLanguage":1},"canEdit":1,"canActivateUser":1,"canEditAvatar":1,"canEditUserName":1,"canEditLanguage":1,"canEditTimezone":1,"canEditEmail":1,"canEditPassword":1,"canSignInAsUser":1,"canDeleteUser":1,"canAddGroup":1,"allowedEditAttributes":["12","13","16"]},"pThemeID":"0"}}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/View\/View.php","line":351,"function":"include","class":null,"args":["\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/elements\/attribute\/editable_list.php"]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/Legacy\/Loader.php","line":32,"function":"element","class":"Concrete\\Core\\View\\View","args":["attribute\/editable_list",{"attributes":null,"object":{"error":"","uID":"2","uLastLogin":"0","uLastIP":null,"uIsValidated":"-1","uPreviousLogin":"0","uIsFullRecord":"1","uNumLogins":"0","uDateAdded":"2015-09-02 10:50:36","uIsActive":"1","uDefaultLanguage":"en_US","uLastOnline":"0","uHasAvatar":"0","uName":"jpierre","uEmail":"jp.charrier@sciascia.co.nz","uPassword":"$2a$12$CRKAHL1x8Cc\/rme5Z1bOGeVzTG4eyQ2fmAG1viW2xm.cA7U325X8m","uTimezone":null,"uLastPasswordChange":"2015-09-02 10:50:36"},"saveAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/update_attribute\/2","clearAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/clear_attribute\/2","permissionsArguments":{"attributes":["12","13","16"]},"permissionsCallback":{}},null]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/single_pages\/dashboard\/users\/search.php","line":191,"function":"element","class":"Concrete\\Core\\Legacy\\Loader","args":["attribute\/editable_list",{"attributes":null,"object":{"error":"","uID":"2","uLastLogin":"0","uLastIP":null,"uIsValidated":"-1","uPreviousLogin":"0","uIsFullRecord":"1","uNumLogins":"0","uDateAdded":"2015-09-02 10:50:36","uIsActive":"1","uDefaultLanguage":"en_US","uLastOnline":"0","uHasAvatar":"0","uName":"jpierre","uEmail":"jp.charrier@sciascia.co.nz","uPassword":"$2a$12$CRKAHL1x8Cc\/rme5Z1bOGeVzTG4eyQ2fmAG1viW2xm.cA7U325X8m","uTimezone":null,"uLastPasswordChange":"2015-09-02 10:50:36"},"saveAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/update_attribute\/2","clearAction":"http:\/\/vila-mourisca-57\/index.php\/dashboard\/users\/search\/clear_attribute\/2","permissionsArguments":{"attributes":["12","13","16"]},"permissionsCallback":{}}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/View\/View.php","line":181,"function":"include","class":null,"args":["\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/single_pages\/dashboard\/users\/search.php"]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/View\/AbstractView.php","line":123,"function":"renderViewContents","class":"Concrete\\Core\\View\\View","args":[{"html":{},"interface":{},"dashboard":{},"hideDashboardPanel":false,"user":{"error":"","uID":"2","uLastLogin":"0","uLastIP":null,"uIsValidated":"-1","uPreviousLogin":"0","uIsFullRecord":"1","uNumLogins":"0","uDateAdded":"2015-09-02 10:50:36","uIsActive":"1","uDefaultLanguage":"en_US","uLastOnline":"0","uHasAvatar":"0","uName":"jpierre","uEmail":"jp.charrier@sciascia.co.nz","uPassword":"$2a$12$CRKAHL1x8Cc\/rme5Z1bOGeVzTG4eyQ2fmAG1viW2xm.cA7U325X8m","uTimezone":null,"uLastPasswordChange":"2015-09-02 10:50:36"},"canEditAvatar":1,"canEditUserName":1,"canEditEmail":1,"canEditPassword":1,"canEditTimezone":1,"canEditLanguage":1,"canActivateUser":1,"canSignInAsUser":1,"canDeleteUser":1,"allowedEditAttributes":["12","13","16"],"canAddGroup":1,"pageTitle":"Search Users","token":{},"error":{"helperAlwaysCreateNewInstance":true},"form":{},"view":{"controller":{"token":{},"c":{"cID":"13","error":false,"pkgID":"0","cPointerID":"0","cPointerExternalLink":null,"cIsActive":"1","cPointerExternalLinkNewWindow":"0","cFilename":"\/dashboard\/users\/search.php","ptID":"0","cDateAdded":"2015-09-02 10:39:20","cDisplayOrder":"0","cDateModified":"2015-09-02 10:39:20","cInheritPermissionsFromCID":"2","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"\/dashboard\/users\/search","cParentID":"12","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0","isMasterCollection":"0","vObj":{"cvIsApproved":"1","cID":"13","layoutStyles":[],"error":"","cvID":"1","cvIsNew":"0","cvHandle":"search","cvName":"Search Users","cvDescription":"","cvDateCreated":"2015-09-02 10:39:20","cvDatePublic":"2015-09-02 10:39:20","pTemplateID":"0","cvAuthorUID":"1","cvApproverUID":null,"cvComments":"Initial Version","pThemeID":"1","isMostRecent":true},"cPathFetchIsCanonical":true,"pkgHandle":false},"assignment":{"duration":null,"accessType":null,"accessEntity":null,"paID":null,"error":"","allowEditUTimezone":1,"allowEditUDefaultLanguage":1},"canEdit":1,"canActivateUser":1,"canEditAvatar":1,"canEditUserName":1,"canEditLanguage":1,"canEditTimezone":1,"canEditEmail":1,"canEditPassword":1,"canSignInAsUser":1,"canDeleteUser":1,"canAddGroup":1,"allowedEditAttributes":["12","13","16"]},"pThemeID":"0"},"controller":{"token":{},"c":{"cID":"13","error":false,"pkgID":"0","cPointerID":"0","cPointerExternalLink":null,"cIsActive":"1","cPointerExternalLinkNewWindow":"0","cFilename":"\/dashboard\/users\/search.php","ptID":"0","cDateAdded":"2015-09-02 10:39:20","cDisplayOrder":"0","cDateModified":"2015-09-02 10:39:20","cInheritPermissionsFromCID":"2","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"\/dashboard\/users\/search","cParentID":"12","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0","isMasterCollection":"0","vObj":{"cvIsApproved":"1","cID":"13","layoutStyles":[],"error":"","cvID":"1","cvIsNew":"0","cvHandle":"search","cvName":"Search Users","cvDescription":"","cvDateCreated":"2015-09-02 10:39:20","cvDatePublic":"2015-09-02 10:39:20","pTemplateID":"0","cvAuthorUID":"1","cvApproverUID":null,"cvComments":"Initial Version","pThemeID":"1","isMostRecent":true},"cPathFetchIsCanonical":true,"pkgHandle":false},"assignment":{"duration":null,"accessType":null,"accessEntity":null,"paID":null,"error":"","allowEditUTimezone":1,"allowEditUDefaultLanguage":1},"canEdit":1,"canActivateUser":1,"canEditAvatar":1,"canEditUserName":1,"canEditLanguage":1,"canEditTimezone":1,"canEditEmail":1,"canEditPassword":1,"canSignInAsUser":1,"canDeleteUser":1,"canAddGroup":1,"allowedEditAttributes":["12","13","16"]},"c":{"cID":"13","error":false,"pkgID":"0","cPointerID":"0","cPointerExternalLink":null,"cIsActive":"1","cPointerExternalLinkNewWindow":"0","cFilename":"\/dashboard\/users\/search.php","ptID":"0","cDateAdded":"2015-09-02 10:39:20","cDisplayOrder":"0","cDateModified":"2015-09-02 10:39:20","cInheritPermissionsFromCID":"2","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"\/dashboard\/users\/search","cParentID":"12","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0","isMasterCollection":"0","vObj":{"cvIsApproved":"1","cID":"13","layoutStyles":[],"error":"","cvID":"1","cvIsNew":"0","cvHandle":"search","cvName":"Search Users","cvDescription":"","cvDateCreated":"2015-09-02 10:39:20","cvDatePublic":"2015-09-02 10:39:20","pTemplateID":"0","cvAuthorUID":"1","cvApproverUID":null,"cvComments":"Initial Version","pThemeID":"1","isMostRecent":true},"cPathFetchIsCanonical":true,"pkgHandle":false},"theme":null}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/Routing\/DispatcherRouteCallback.php","line":24,"function":"render","class":"Concrete\\Core\\View\\AbstractView","args":[]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/Routing\/DispatcherRouteCallback.php","line":216,"function":"sendResponse","class":"Concrete\\Core\\Routing\\DispatcherRouteCallback","args":[{"controller":{"token":{},"c":{"cID":"13","error":false,"pkgID":"0","cPointerID":"0","cPointerExternalLink":null,"cIsActive":"1","cPointerExternalLinkNewWindow":"0","cFilename":"\/dashboard\/users\/search.php","ptID":"0","cDateAdded":"2015-09-02 10:39:20","cDisplayOrder":"0","cDateModified":"2015-09-02 10:39:20","cInheritPermissionsFromCID":"2","cInheritPermissionsFrom":"PARENT","cOverrideTemplatePermissions":"1","cCheckedOutUID":null,"cIsTemplate":"0","uID":"1","cPath":"\/dashboard\/users\/search","cParentID":"12","cChildren":"0","cCacheFullPageContent":"-1","cCacheFullPageContentOverrideLifetime":"0","cCacheFullPageContentLifetimeCustom":"0","isMasterCollection":"0","vObj":{"cvIsApproved":"1","cID":"13","layoutStyles":[],"error":"","cvID":"1","cvIsNew":"0","cvHandle":"search","cvName":"Search Users","cvDescription":"","cvDateCreated":"2015-09-02 10:39:20","cvDatePublic":"2015-09-02 10:39:20","pTemplateID":"0","cvAuthorUID":"1","cvApproverUID":null,"cvComments":"Initial Version","pThemeID":"1","isMostRecent":true},"cPathFetchIsCanonical":true,"pkgHandle":false},"assignment":{"duration":null,"accessType":null,"accessEntity":null,"paID":null,"error":"","allowEditUTimezone":1,"allowEditUDefaultLanguage":1},"canEdit":1,"canActivateUser":1,"canEditAvatar":1,"canEditUserName":1,"canEditLanguage":1,"canEditTimezone":1,"canEditEmail":1,"canEditPassword":1,"canSignInAsUser":1,"canDeleteUser":1,"canAddGroup":1,"allowedEditAttributes":["12","13","16"]},"pThemeID":"0"}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/src\/Application\/Application.php","line":379,"function":"execute","class":"Concrete\\Core\\Routing\\DispatcherRouteCallback","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/bootstrap\/start.php","line":313,"function":"dispatch","class":"Concrete\\Core\\Application\\Application","args":[{"attributes":{},"request":{},"query":{},"server":{},"files":{},"cookies":{},"headers":{}}]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/dispatcher.php","line":36,"function":"require","class":null,"args":["\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/bootstrap\/start.php"]},{"file":"\/Users\/jpierre\/Sites\/vila-mourisca-57\/index.php","line":2,"function":"require","class":null,"args":["\/Users\/jpierre\/Sites\/vila-mourisca-57\/concrete\/dispatcher.php"]}]},"errors":["Invalid argument supplied for foreach()"]}

jpcharrier
 
WebcentricLtd replied on at Permalink Reply
Hi,
I just tried this on a 5.7.5.1 install and was not able to recreate.
What is the name of the user you are attempting to change and change it to?
WebcentricLtd replied on at Permalink Reply
Looking at the error message would point at their being some kind of issue with user attributes.

Have you customised any of these /added / removed / added and removed?
jpcharrier replied on at Permalink Reply
jpcharrier
Weird, ok, I just tried another vanilla install and it worked fine. No attributes of any sort have been altered in this other install, only a theme install (non-package). I'll try and trace this back and see what I can figure out.
DarthCoder replied on at Permalink Reply
I'm getting the same problem. I've added a few user attributes as well, and I get an

{"error":{"message":"Invalid argument supplied for foreach()"},"errors":["Invalid argument supplied for foreach()"]}

whenever I try to change usernames. Has anyone found a workaround?
linuxoid replied on at Permalink Reply
linuxoid
I confirm I've got the same error and can't change a username
(I've got C5.7.5.2)
FourCreeks replied on at Permalink Reply
I have this problem too!...

{"error":{"message":"Invalid argument supplied for foreach()"},"errors":["Invalid argument supplied for foreach()"]}

# concrete5 Version
Core Version - 5.7.5.2
Version Installed - 5.7.5.2
Database Version - 20150731000000

IS THERE A FIX or workaround?