-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8, 3.1.4, 3.2.1, 3.4.3
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_34_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-58063-master -
Easy
-
When adding a HTML block within a page resource the below error occurs.
Steps to replicate -
- Create a page resource in a course
- Enter the page resource
- Add a new HTML block
- Click the 'Manage files' option in the text editor
Invalid get_string() identifier: 'pluginadministration' or component 'moodle'. Perhaps you are missing $string['pluginadministration'] = ''; in lang/en/moodle.php?
• line 349 of /lib/classes/string_manager_standard.php: call to debugging()
• line 6679 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
• line 3971 of /lib/navigationlib.php: call to get_string()
• line 3469 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
• line 719 of /lib/pagelib.php: call to settings_navigation->initialise()
• line 768 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
• line 3114 of /lib/navigationlib.php: call to moodle_page->__get()
• line 3158 of /lib/navigationlib.php: call to navbar->has_items()
• line 55 of /theme/bootstrapbase/renderers/core_renderer.php: call to navbar->get_items()
• line 4071 of /lib/outputrenderers.php: call to theme_bootstrapbase_core_renderer->navbar()
• line 68 of /theme/bootstrapbase/layout/popup.php: call to core_renderer->full_header()
• line 1018 of /lib/outputrenderers.php: call to include()
• line 948 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
• line 111 of /lib/editor/atto/plugins/managefiles/manage.php: call to core_renderer->header()
Notice: Trying to get property of non-object in /home/user/domains/moodlesiteurl/public_html/lib/navigationlib.php on line 3976
Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
Debug info: Argument 2 passed to has_capability() must be an instance of context, null given, called in [dirroot]/lib/navigationlib.php on line 3976 and defined
Error code: codingerror
Stack trace:
• line 418 of /lib/setuplib.php: coding_exception thrown
• line 365 of /lib/accesslib.php: call to default_error_handler()
• line 3976 of /lib/navigationlib.php: call to has_capability()
• line 3469 of /lib/navigationlib.php: call to settings_navigation->load_module_settings()
• line 719 of /lib/pagelib.php: call to settings_navigation->initialise()
• line 768 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
• line 3114 of /lib/navigationlib.php: call to moodle_page->__get()
• line 3158 of /lib/navigationlib.php: call to navbar->has_items()
• line 55 of /theme/bootstrapbase/renderers/core_renderer.php: call to navbar->get_items()
• line 4071 of /lib/outputrenderers.php: call to theme_bootstrapbase_core_renderer->navbar()
• line 68 of /theme/bootstrapbase/layout/popup.php: call to core_renderer->full_header()
• line 1018 of /lib/outputrenderers.php: call to include()
• line 948 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 111 of /lib/editor/atto/plugins/managefiles/manage.php: call to core_renderer->header()