When I click on “forgot password” and type a valid email, the system gives an error with the following message: “Email address not provided.” . I’ve tested with different emails and the same error occurs.
Gibbon Versão v24.0.01
PHP Versão 8.1.8
MySQL Versão 10.6.5
Hi Alessandra. That is odd, I’ve just tested it locally and it seems to be working. The final screenshot with an error might give a clue as to what the previous issue was. Can you check your system PHP error log, as the Oh No message generally means a PHP error has been captured and recorded in the logs.
//$body = sprintf(__(‘A password reset request has been initiated for account %1$s, which is registered to this email address.%2$sIf you did not initiate this request, please ignore this email.%2$sIf you do wish to reset your password, please use the link below to access the reset form:%2$s%3$s%2$s%4$s’), $username, "
Hi Alessandra, thanks for sharing your solution, great to hear you got it working. My apologies for the delay in a response, it’s been busy on this end getting v25 ready for the release. It’s odd that “%2$sIf” would cause an error on your system but hasn’t caused an error on other systems. Can you let me know which version of PHP you’re running, maybe it’s something that has changed in newer versions, in which case we’ll want to test for the release. Also, were you using any other languages when accessing this page? Sometimes a translator may inadvertently change the string placeholders in a string which can cause it to fail to work as expected.