moodle-mod_googlemeet icon indicating copy to clipboard operation
moodle-mod_googlemeet copied to clipboard

Google Meet Warning

Open licethrey91 opened this issue 2 years ago • 0 comments

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']])) {)

Screen Shot 2022-03-25 at 10 50 43 AM

Could you help me, please?

licethrey91 avatar Mar 25 '22 15:03 licethrey91