Totara Learn Open Discussions

Capability error for report/log:view

 
? ?
Capability error for report/log:view
بواسطة Tuesday, 31 March 2020, 7:39 AM - ? ?
 

Hi all,

I have created a local plugin that extends the report builder to provide me with a source that I can manipulate in my report builder instance. Since installing the local plugin I have been able to see the source in my source dropdown and currently struggling with getting the report right ( another forum topic) but I have constantly been getting this :


Capability "report/log:view" was not found! This has to be fixed in code.

  • line 418 of /lib/accesslib.php: call to debugging()
  • line 1485 of /lib/adminlib.php: call to has_capability()
  • line 67 of /totara/core/classes/quickaccessmenu/menu/admin.php: call to admin_externalpage->check_access()
  • line 46 of /totara/core/classes/quickaccessmenu/menu/admin.php: call to totara_core\quickaccessmenu\menu\admin::add_admin_part_to_menu()
  • line 160 of /totara/core/classes/quickaccessmenu/factory.php: call to totara_core\quickaccessmenu\menu\admin::get()
  • line 181 of /totara/core/classes/quickaccessmenu/factory.php: call to totara_core\quickaccessmenu\factory->get_admin_menu()
  • line 4869 of /lib/navigationlib.php: call to totara_core\quickaccessmenu\factory->get_possible_items()
  • line 4453 of /lib/navigationlib.php: call to settings_navigation->generate_user_settings()
  • line 3813 of /lib/navigationlib.php: call to settings_navigation->load_user_settings()
  • line 758 of /lib/pagelib.php: call to settings_navigation->initialise()
  • line 815 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
  • line 7964 of /lib/adminlib.php: call to moodle_page->__get()
  • line 159 of /admin/plugins.php: call to admin_externalpage_setup()


Would anyone know why ?

Using Totara 12 version