Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Meet Warning #24

Open
licethrey91 opened this issue Mar 25, 2022 · 0 comments
Open

Google Meet Warning #24

licethrey91 opened this issue Mar 25, 2022 · 0 comments

Comments

@licethrey91
Copy link

licethrey91 commented Mar 25, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant