Theme adapatable - Login token issue

Theme adapatable - Login token issue

by Elwebman Amsterdam -
Number of replies: 2

Greetings Moodle!


I am in need of help. Since we have upgraded the moodle db to the latest version ( I believe it is the 3.4 version or later ), we are getting an exception:

Excepción - Call to undefined method core\session\manager::get_login_token()

exception


So I have made some research and I found this page: https://docs.moodle.org/dev/Login_token


However I was unable to find a solution. I have added $CFG->disablelogintoken = true;  onto the config file but this is not helping the error remains. I deleted the cache files in the moodledata folder on my server but this is not helping either, the error remains and we are unable to access the frontpage. What is the expectations with this solutions? It is not working for us.


We are using the adaptable theme. As per the page (https://docs.moodle.org/dev/Login_token) it was suggested to change the login form and add a line (<input type="hidden" name="logintoken" value="{{logintoken}}">) but I was unable to find the template.


Can anyone suggest something, please? We have had some issues installing moodle and we are now so close to the end it will be sad to have to change platform. Any help is appreciated.


Thank you

Average of ratings: -