adlnet / Moodle-mod_cmi5launch

A Moodle plugin which allows teachers to upload cmi5 packaged lessons within a Moodle Course Activity and then assign the activity to students
Apache License 2.0
5 stars 5 forks source link

Undefined variables #44

Closed mudrd8mz closed 1 month ago

mudrd8mz commented 3 months ago

When installing 2024022015 to Moodle 4.3, I am getting:

Warning: Undefined variable $course in .../moodle/mod/cmi5launch/db/install.php on line 28

Warning: Undefined variable $cm in .../moodle/mod/cmi5launch/db/install.php on line 28
ADLMeganBohland commented 3 months ago

@mudrd8mz We are now on version 2024061115 and I believe this has been resolved, however I want to test and verify. You get this error when upgrading moodle?

mudrd8mz commented 3 months ago

I used the most recent version from the plugins directory. That is what we (and all other Moodle admins out there) will do normally. As I said, I got this when installing the plugin to the site.

ADLMeganBohland commented 3 months ago

@mudrd8mz Thank you so much! I have never done this and didn't realize I needed to update the plugin directory I saw the source code link, and thought that was it! I will upload there so you and other admins have access to the newer versions. I apologize for the confusion.

ADLMeganBohland commented 1 month ago

The code has been updated and newest version put in place