Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method format_topicsactivitycards::get_context() #16

Open
bigeasyuk opened this issue Jul 25, 2024 · 2 comments
Open

Comments

@bigeasyuk
Copy link

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()

@SensCyPez
Copy link

I seem to be getting the same issue. Has the developer had time to take a look at this yet?

@andrewhancox
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants