Recent Topics

6.9.3. - issue with User handling

Started by on Sep 23, 2017 – Contents updated: Sep 29, 2017

Sep 23, 2017 01:19    

since upgrading to 6.9.3 (from 6.8.2) i have a problem with user handling: when i register (as admin) a user without checking a gender-option no problem.
once i want change the already registered user and choose a gender option it says: 'Profile has been updated', but no value for gender is documented (all gender fields stay empty).

When i register a new user and tick a gender option from the beginning, i get notices and warning as follows:


Notice: Undefined index: reg_ip_min in ../inc/users/model/_userlist.class.php on line 535

Notice: Undefined index: reg_ip_max in ../inc/users/model/_userlist.class.php on line 535

Warning: Cannot modify header information - headers already sent by (output started at ../inc/users/model/_userlist.class.php:535) in ../inc/_core/_misc.funcs.php on line 6726
An unexpected error has occurred!

If this error persists, please report it to the administrator.

Go back to home page
Additional information about this error:
Headers have already been sent in _userlist.class.php on line 535.
Cannot redirect.

it used to work with earlier versions and i think, i have not made changes to my setup other than upgraded.

Sep 23, 2017 12:20

6.9.3. I confirm gender change not working

Sep 27, 2017 07:44

@ramadama @amoun the setting new users' gender issue is now reported to the devs, so it will fixed soon.

@ramadama regarding the Notices you're getting, we are still investigating.

Regards!

Sep 28, 2017 08:14

@ramadama @amoun some news about this. The real bug was that b2evolution was not respecting the Gender fields settings, so you are trying to set a gender to a new user, but those fields shouldn't be neither visible nor set, due to the default value of Users > Settings > Registration & Login > Other options > Gender (see screenshot below). In order to make it work, just change this value to Optional or Required.

A fix to don't display Gender fields when they should be hidden is here: https://github.com/b2evolution/b2evolution/commit/43dcc572e6bb570bb601bb5d9e80b9f0b9bca461, and it will be included in the next release.

Thanks for reporting.

Regards!

Sep 28, 2017 12:37

@mgsolipa
Yes thanks, I do have gender hidden and only checked to confirm the issue :)


Form is loading...

blog soft – This forum is powered by b2evolution CMS, a complete engine for your website.