Error after modifying the string 'emailconfirmsent' in moodle.php file

Error after modifying the string 'emailconfirmsent' in moodle.php file

от Javier Tejera -
Количество ответов: 2

I've modified the string $string['emailconfirmsent']; of the moodle.php file in my staging environment (public_html/staging/lang/en/moodle.php), but I have an error. All I want to to is modifying the message when the sign-up is completed. 

Basically what I've done is changed An email should have been sent to your address at {$a} for An email should have been sent to your address at {$a}. Please, check your spam folder.

Now, when trying to sign up, the error message Exception - Class 'core_privacy\local\sitepolicy\manager' not found appears after accepting the privacy policy of the sign-up process, so it's not possible to create an account.

Any idea what might be causing this issue?

Thanks in advance.

В ответ на Javier Tejera

Re: Error after modifying the string 'emailconfirmsent' in moodle.php file

от Howard Miller -
Изображение пользователя Core developers Изображение пользователя Documentation writers Изображение пользователя Particularly helpful Moodlers Изображение пользователя Peer reviewers Изображение пользователя Plugin developers