ArloSoftware / moodle-enrol_arlo

GNU General Public License v3.0
6 stars 16 forks source link

No "Active" Events or Online Activities found. #195

Open richardjohnwilliams opened 1 year ago

richardjohnwilliams commented 1 year ago

Keep getting this error (No "Active" Events or Online Activities found.) whenever trying: 'From the Add Method drop-down selection, choose Arlo Enrolment.' from this page: https://support.arlo.co/hc/en-gb/articles/211908663-Link-Arlo-elearning-modules-and-courses-to-Moodle-courses

logicexpertise commented 7 months ago

@richardjohnwilliams I ran into this issue when using older versions of the Arlo enrol plugin (3.7.0 and 3.7.2) with a recent PHP version (8.1). After a whole day of tearing my hair out, I downgraded PHP to 8.0, which fixed the issue. Hope that helps.

PS: When using PHP 8.0, you'll see the following deprecated warning in the server logs: PHP Deprecated: Function libxml_disable_entity_loader() is deprecated in <wwwroot>/enrol/arlo/classes/Arlo/AuthAPI/XmlDeserializer.php on line 52 They can be ignored, although I'm not sure for how long.