e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

Force user to update settings causes fatal error im PHP 8.2 #5041

Closed Jimmi08 closed 1 year ago

Jimmi08 commented 1 year ago

Bug Description

The latest version, just synced

UEF is required on signup page

Force user to update settings is set ON image

image

Jimmi08 commented 1 year ago

With force update (PHP 7) and URL SEF for users update required EUF field is not working. After change back to legacy URL, it works.
path for forced update is: header('Location: '.SITEURL.'usersettings.php?update'); $_POST from the form is sent to SEF-URL $target = e107::getUrl()->create('user/myprofile/edit',array('id'=>USERID));