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

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

by Javier Tejera -
Number of replies: 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.

Average of ratings: -
In reply to Javier Tejera

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

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Put it back how it was and then read Language_customisation
In reply to Howard Miller

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

by Javier Tejera -
Oh, that was more simple than I had thought! Thanks for the response.