Panopto / Moodle-2.0-plugin-for-Panopto

Panopto's integration with the Moodle LMS.
http://www.panopto.com
GNU General Public License v3.0
18 stars 38 forks source link

Deprecated use of dynamic properties - showing in error log / cron #213

Closed jrchamp closed 5 days ago

jrchamp commented 3 months ago

Use of implicit dynamic properties was deprecated by PHP in November 2021. Options for fixing:

PHP Deprecated: Creation of dynamic property panopto_category_data::$uname is deprecated in lib/panopto_category_data.php on line 107 https://github.com/Panopto/Moodle-2.0-plugin-for-Panopto/blob/a05f8b6e3cf2dc1751c02a129fa33bbdd059cafd/lib/panopto_category_data.php#L102-L107 PHP Deprecated: Creation of dynamic property panopto_category_data::$sessiongroupid is deprecated in lib/panopto_category_data.php on line 112 https://github.com/Panopto/Moodle-2.0-plugin-for-Panopto/blob/a05f8b6e3cf2dc1751c02a129fa33bbdd059cafd/lib/panopto_category_data.php#L109-L113 PHP Deprecated: Creation of dynamic property panopto_session_soap_client::$sessionmanagementserviceensure is deprecated in lib/panopto_session_soap_client.php on line 667 https://github.com/Panopto/Moodle-2.0-plugin-for-Panopto/blob/a05f8b6e3cf2dc1751c02a129fa33bbdd059cafd/lib/panopto_session_soap_client.php#L666-L668

If you are open to a Pull Request, please let us know.

zeroAps commented 2 months ago

Thanks @jrchamp. We will create internal item to clean this up. Thanks.

zeroAps commented 5 days ago

We have cleaned this up in the latest release of the block. Closing this for now. Thank you.