You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We upgraded from Moodle 3.9 to 4.1.11 today, everything went fine until I tried to look at the settings in a course, this error is the result-
I am using the 4.1/4.2 version from the Moodle.org plugin page. We also get the same error while trying to create a new course with Activity cards format.
Any help would be appreciated,
Dan
Exception - Call to undefined method format_topicsactivitycards::get_context()
Stack trace:
line 396 of /course/format/topicsactivitycards/lib.php: Error thrown
line 410 of /course/format/topicsactivitycards/lib.php: call to format_topicsactivitycards->get_best_editing_context()
line 112 of /course/format/topicsactivitycards/lib.php: call to format_topicsactivitycards->texteditoroptions()
line 1003 of /course/format/classes/base.php: call to format_topicsactivitycards->course_format_options()
line 307 of /course/format/topics/lib.php: call to core_courseformat\base->create_edit_form_elements()
line 281 of /course/format/topicsactivitycards/lib.php: call to format_topics->create_edit_form_elements()
line 443 of /course/edit_form.php: call to format_topicsactivitycards->create_edit_form_elements()
line 1024 of /lib/formslib.php: call to course_edit_form->definition_after_data()
line 250 of /course/edit.php: call to moodleform->display()
The text was updated successfully, but these errors were encountered:
I've got a new version coming in the next few weeks that should resolve this. If you wish to test it in the mean-time it's in the same solutions branch of this repo.
Hi,
We upgraded from Moodle 3.9 to 4.1.11 today, everything went fine until I tried to look at the settings in a course, this error is the result-
I am using the 4.1/4.2 version from the Moodle.org plugin page. We also get the same error while trying to create a new course with Activity cards format.
Any help would be appreciated,
Dan
Exception - Call to undefined method format_topicsactivitycards::get_context()
Stack trace:
line 396 of /course/format/topicsactivitycards/lib.php: Error thrown
line 410 of /course/format/topicsactivitycards/lib.php: call to format_topicsactivitycards->get_best_editing_context()
line 112 of /course/format/topicsactivitycards/lib.php: call to format_topicsactivitycards->texteditoroptions()
line 1003 of /course/format/classes/base.php: call to format_topicsactivitycards->course_format_options()
line 307 of /course/format/topics/lib.php: call to core_courseformat\base->create_edit_form_elements()
line 281 of /course/format/topicsactivitycards/lib.php: call to format_topics->create_edit_form_elements()
line 443 of /course/edit_form.php: call to format_topicsactivitycards->create_edit_form_elements()
line 1024 of /lib/formslib.php: call to course_edit_form->definition_after_data()
line 250 of /course/edit.php: call to moodleform->display()
The text was updated successfully, but these errors were encountered: