Hello, after I updated my Moodle to the latest version, when I try to acess my admin board, I get this error: Exception - Call to a member function add() on null . Can you please help me?
Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
The reproduce the problem. I hope you should see a more detailed trace of the error. Copy it over here and we'll have a look.
Re: Exception - Call to a member function add() on null after UPDATE
Duplicate admin category name: users
line 955 of /lib/adminlib.php: call to debugging()
line 23 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: courses
line 955 of /lib/adminlib.php: call to debugging()
line 24 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: grades
line 955 of /lib/adminlib.php: call to debugging()
line 25 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: analytics
line 955 of /lib/adminlib.php: call to debugging()
line 26 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: competencies
line 955 of /lib/adminlib.php: call to debugging()
line 27 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: badges
line 955 of /lib/adminlib.php: call to debugging()
line 28 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: location
line 955 of /lib/adminlib.php: call to debugging()
line 29 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: language
line 955 of /lib/adminlib.php: call to debugging()
line 30 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: modules
line 955 of /lib/adminlib.php: call to debugging()
line 31 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: security
line 955 of /lib/adminlib.php: call to debugging()
line 32 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: appearance
line 955 of /lib/adminlib.php: call to debugging()
line 33 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: frontpage
line 955 of /lib/adminlib.php: call to debugging()
line 34 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: server
line 955 of /lib/adminlib.php: call to debugging()
line 35 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: mnet
line 955 of /lib/adminlib.php: call to debugging()
line 36 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: reports
line 955 of /lib/adminlib.php: call to debugging()
line 37 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: development
line 955 of /lib/adminlib.php: call to debugging()
line 38 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: unsupported
line 955 of /lib/adminlib.php: call to debugging()
line 41 of /admin/settings/top.php: call to admin_category->add()
line 7986 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: themes
line 955 of /lib/adminlib.php: call to debugging()
line 12 of /admin/settings/appearance.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: theme_klass
line 31 of /theme/klass/settings.php: call to admin_category->add()
line 52 of /admin/settings/appearance.php: call to include()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: backups
line 955 of /lib/adminlib.php: call to debugging()
line 168 of /admin/settings/courses.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: experimental
line 955 of /lib/adminlib.php: call to debugging()
line 8 of /admin/settings/development.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: gradereports
line 955 of /lib/adminlib.php: call to debugging()
line 207 of /admin/settings/grades.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: gradeimports
line 955 of /lib/adminlib.php: call to debugging()
line 220 of /admin/settings/grades.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: gradeexports
line 235 of /admin/settings/grades.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Duplicate admin category name: mnetpeercat
line 955 of /lib/adminlib.php: call to debugging()
line 18 of /admin/settings/mnet.php: call to admin_category->add()
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Exception - Call to a member function add() on null
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 30 of /admin/settings/moodleservices.php: Error thrown
line 7997 of /lib/adminlib.php: call to require()
line 7886 of /lib/adminlib.php: call to admin_get_root()
line 24 of /admin/search.php: call to admin_externalpage_setup()
Exception - Call to a member function add() on null
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 30 of /admin/settings/moodleservices.php: Error thrown
line 7997 of /lib/adminlib.php: call to require()
line 4183 of /lib/navigationlib.php: call to admin_get_root()
line 4046 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
line 3452 of /lib/navigationlib.php: call to moodle_page->__get()
line 627 of /theme/boost/classes/output/core_renderer.php: call to navbar->get_items()
line 55 of /theme/moove/layout/columns2.php: call to theme_boost\output\core_renderer->region_main_settings_menu()
line 1287 of /lib/outputrenderers.php: call to include()
line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2824 of /lib/outputrenderers.php: call to core_renderer->header()
line 374 of /lib/setuplib.php: call to core_renderer->fatal_error()
line ? of unknownfile: call to default_exception_handler()
Re: Exception - Call to a member function add() on null after UPDATE
$CFG->theme = 'boost';
...and see what happens. I note you are running a non-core theme (moove). Eliminating that is always a good place to start.
Re: Exception - Call to a member function add() on null after UPDATE
Yeah, I thought about that, but since I can't access my admin panel, I don't know how to change it. If I just delete the theme folder will moodle use a default theme?
Re: Exception - Call to a member function add() on null after UPDATE
Notice: Undefined variable: moodleservices in /home/r56026inte/public_html/admin/settings/moodleservices.php on line 30
This is line 30 from that document:
$moodleservices->add(new admin_setting_heading('moodleservicesintro', '',
new lang_string('moodleservices_help', 'admin')));
After a refresh, that error was gone.
Re: Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
If (as I'm starting to suspect is the case) that you have used scripts provided by your hosting provider then you're probably going to have to ask them. We have no idea what these scripts do and it sounds like they are broken. Unfortunately, this is very common.
Re: Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
You did take a full backup before you attempted the upgrade, didn't you? :-O
Re: Exception - Call to a member function add() on null after UPDATE
Does your cPanel have an icon for 'Terminal'? (that is command line into only your slice of the server upon which your moodle is installed).
If it does and you are not totally afraid of a little command line it might ... notice I said might ... be possible to backup your courses via command line.
Expect a 'private message' in moodle.org from me.
'spirit of sharing', Ken
Re: Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
@Howard ...
Well ... my line of thinking different ... more than likely moosh may not be installable on remote systems ... or if it could, there would be instructions to give users and how would one do that ... environment/site un-seen?
Was thinking of the backup.php script in moodlecode/admin/cli/ That doesn't use web service, does use config.php variables and defaults for course backups. Only 2 things one would need ... a directory to which to save the backup ... that could be as simple as /home/[useraccount]/ and a course ID ... and one could guess those ... not 1 (that's front page), but 2, or 3, or 4, or 5.
Failure to give a valid course ID fails gracefully.
If successful, at least user has course backups of some sort.
'spirit of sharing', Ken
Re: Exception - Call to a member function add() on null after UPDATE
Me and Ken Task tried to solve this and came out with a solution. He helped me back up my courses and he checked them out for errors and corrected them, so that they will work on a new Moodle Installation. Also he taught me what to do in the future to avoid having these kind of problems. He was a very big help and he did a great job and he did it very quickly.
Thank you so much Ken Task for using your vast knowledge to help me overcome this issue.
Re: Exception - Call to a member function add() on null after UPDATE
Welcome!
'spirit of sharing', Ken
Re: Exception - Call to a member function add() on null after UPDATE
your website.
I wish you the best!
On Sun, Jul 7, 2019 at 8:58 PM Ken Task (via Moodle.org) <noreply@moodle.org>
Re: Exception - Call to a member function add() on null after UPDATE
Done! Category/Course and users deleted from sandbox.
'SoS', Ken
Re: Exception - Call to a member function add() on null after UPDATE
Re: Exception - Call to a member function add() on null after UPDATE
Yes, it was ... thanks for recognizing that. There an emoticon ... oops, that's too old ... better yet ... emoji for that? Kinda like the stipend/pay raise I got at my last place of 'regular' employment before retirement. :|
'spirit of sharing', Ken