App throws an error after entering the site URL

Re: App throws an error after entering the site URL

by Sebastian S -
Number of replies: 0
Hi Dani,

we have self registration disabled, so it's set to 0 in the configuration (our configuration is quite old, though - it was set up with/for Moodle 3.0). I now removed the entry from there and re-set the value through the webfrontend - and indeed, it works!

Big thanks!

But now the login fails with a similiar message:
usercalendartype => Ungültiger Rückgabewert (Invalid external api response: the value is "gregorian " of PHP type "string", the server was expecting "plugin" type): Invalid external api response: the value is "gregorian " of PHP type "string", the server was expecting "plugin" type)

$CFG->calendartype was set to this value, but even after removing that from the config.php, I keep getting this error - do I have to change this in the database? (Also, should I open a new thread for this or is it fine to continue here?)

Edit: Okay, turns out I do have to do so. I updated my users table to remove the stray " " after "gregorian" and now it works like a charm. Thanks a lot for the help!

Thanks
Sebastian