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

generalexceptionmessage Exception - Call to undefined function get_module_types_names() #262

Open
matthewmarinovich opened this issue May 17, 2023 · 0 comments

Comments

@matthewmarinovich
Copy link

We're getting the error above on Moodle v4.0.8 with the Snap 4.0.7. The error manifests when accessing the custom reporting tool in Moodle i.e. [Dashboard]>[Site administration]>[Reports]>[Report builder]>[Custom reports].

The stack trace is as follows:

Error code: generalexceptionmessage

  • line 262 of /lib/modinfolib.php: Error thrown
  • line 487 of /theme/snap/classes/output/shared.php: call to course_modinfo->get_used_module_names()
  • line 31 of /theme/snap/layout/header.php: call to theme_snap\output\shared::page_requires_js()
  • line 26 of /theme/snap/layout/default.php: call to require()
  • line 1477 of /lib/outputrenderers.php: call to include()
  • line 1403 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 1989 of /lib/setuplib.php: call to core_renderer->header()
  • line 81 of /lib/classes/external/dynamic_tabs_get_content.php: call to bootstrap_renderer->__call()
  • line 261 of /lib/externallib.php: call to core\external\dynamic_tabs_get_content::execute()
  • line 81 of /lib/ajax/service.php: call to external_api::call_external_function()
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

1 participant