Beiträge von Howard Miller

Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
You're not running Moodle 4.2.2. You've upgraded PHP, but not Moodle. Here's (a link) to the error line in 4.2.2

https://github.com/moodle/moodle/blob/91e6642f16492fd8a6443e1581e1b14592f74e44/lib/dml/mysqli_native_moodle_recordset.php#L82

...it's just an empty line. Couldn't have caused the error

Here's the same line in 4.0.5

https://github.com/moodle/moodle/blob/fdbcfa1b153ee8b3cf863044f7b28f8b3b7a9500/lib/dml/mysqli_native_moodle_recordset.php#L82

...function declaration which definitely could have caused the error.
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
I hope you mean 'chmod -R 0777'. The 0 is significant (it means Octal), and the -R means recursive. However you copied the files, then you probably need to do that *after* the copy (depending what user the rsync is running at). 

If your data copy broke then it certainly isn't a good thing but it's not what caused this issue.
Nutzerbild von Core developers Nutzerbild von Documentation writers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Peer reviewers Nutzerbild von Plugin developers
Yeh - you need to explain what you think the issue is here. The user knows what username or email they typed so that's not a security issue.

This data is then sent by HTTPS which is secure. So I don't see what the issue can be.

This sounds very similar to a discussion we had with you a couple of months ago. Essentially, if you don't believe that HTTPS is secure enough for your application then you can't use web applications at all.