Creation of dynamic property is deprecated with PHP 8.2+ #2547
Labels
Issue type - enhancement request
New feature being requested outside of original scope.
Plugin - local_o365
Status - PR ready / pending release
Dev is done and PR ready. Will be included in the next release.
Milestone
To see the issue run a Moodle instance on PHP 8.2 with local_o356 installed.
Log in as admin, set debugging to developer and (try to) open to the plugin overview page.
You will see an error:
Creation of dynamic property local_o365\adminsetting\tabs::$component is deprecated
A similar issue appears with ...\tabs::$theme.
This can be fixed by explicitly declaring $component and $theme in the constructor method.
The text was updated successfully, but these errors were encountered: