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

phpdoc crashes with invalid component error #342

Open
tim1mw opened this issue Feb 11, 2025 · 0 comments
Open

phpdoc crashes with invalid component error #342

tim1mw opened this issue Feb 11, 2025 · 0 comments

Comments

@tim1mw
Copy link

tim1mw commented Feb 11, 2025

Using v4.5.6 running locally, I get the following error running phpdoc

Default exception handler: Coding error detected, it must be fixed by a programmer: Invalid component specified in renderer request Debug: local_moodlecheck
Error code: codingerror

  • line 197 of /lib/outputfactories.php: coding_exception thrown
  • line 389 of /lib/outputfactories.php: call to renderer_factory_base->standard_renderer_classnames()
  • line 2427 of /lib/outputlib.php: call to theme_overridden_renderer_factory->get_renderer()
  • line 1006 of /lib/pagelib.php: call to theme_config->get_renderer()
  • line 80 of /local/moodlecheck/cli/moodlecheck.php: call to moodle_page->get_renderer()

The workaround is to install the bundled local_moodlecheck plugin into the Moodle where I'm running the tests.

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