Solved Username change limit can be set to a value that is too high

This topic has been solved
I

Ivancas

Guest
The following error is displayed when a user is edited:
1715052139194.webp
Master style on XF doesn't have any modifications.
This can be reproduced on PHP 8.2 or PHP 81 (I haven't tried others).
Addons were disabled through config.php

This happens when I try to edit any user. The strack trace is the following:
Code:

Code:
#0 src/XF/Mvc/Entity/Entity.php(167): XF\Entity\User->getNextAllowedUsernameChange()
#1 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('next_allowed_us...')
#2...

Read more

Continue reading...