Skip to content

phpdoc crashes with invalid component error #342

@tim1mw

Description

@tim1mw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions