Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Jimmi08 opened this issue Jul 6, 2023 · 1 comment
Closed

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

Jimmi08 opened this issue Jul 6, 2023 · 1 comment
Labels
type: bug A problem that should not be happening
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Jul 6, 2023

Bug Description

The latest version, just synced

UEF is required on signup page

Force user to update settings is set ON
image

image

@Jimmi08 Jimmi08 added the type: bug A problem that should not be happening label Jul 6, 2023
@Jimmi08
Copy link
Contributor Author

Jimmi08 commented Jul 6, 2023

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));

@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Aug 12, 2023
@Moc Moc closed this as completed Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

3 participants