moodle-mod_googlemeet
moodle-mod_googlemeet copied to clipboard
Google Meet Warning
Hi Team,
When you create a google meet link a warning is displayed when the Moodle debugger is enabled. (Moodle version 3.11)
Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /mod/googlemeet/locallib.php on line 121
Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /mod/googlemeet/locallib.php on line 121
We suggest this, because for php 8.0 version it will be something mandatory.
(- if (isset($googlemeet->days) && array_key_exists($wdaydesc[$dayinfo['wday']], $googlemeet->days)) {) (+ if (isset($googlemeet->days) && property_exists($googlemeet->days, $wdaydesc[$dayinfo['wday']])) {)

Could you help me, please?