Multiple errors upgrading to 3.11

Multiple errors upgrading to 3.11

أشرف عبد القادر -
Atsakymų skaičius: 1
Hello, I have these errors, not sure what to do with them.
The code inside the PHP files looks fine.
PHP version is 8.0

If I continue, I go back and return to the same screen. Continuing doesn`t bypass this.

error description
Pažymių vidurkis: -
Atsakymas į أشرف عبد القادر

Re: Multiple errors upgrading to 3.11

Leon Stringer -
Core developers paveikslėlis Particularly helpful Moodlers paveikslėlis

These errors are due to a bug in the Google Meet for Moodle plugin. I've reported it as #36 Undefined constant "MESSAGE_DEFAULT_ENABLED". You should be able to work around this error by editing mod/googlemeet/db/messages.php changing lines 30 and 31 to:

 30             'popup' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,
 31             'email' => MESSAGE_PERMITTED + MESSAGE_DEFAULT_LOGGEDIN + MESSAGE_DEFAULT_LOGGEDOFF,