Site Manager Cannot Global Search

Site Manager Cannot Global Search

Blair F. གིས-
Number of replies: 5
Particularly helpful Moodlers གི་པར

We are using Moodle 3.9.1, with the Boost theme, and just discovered that anyone assigned the Manager role, at the SITE level cannot successfully complete a Global Search. If they are assigned at the CATEGORY level, then there is no issue.

Debugging returns something like the following (anything in italics changes every time an attempt is made):

Format plugin format_weekcoll is not found. Using default format_topics

  • line 126 of /course/format/lib.php: call to debugging()
  • line 187 of /course/format/lib.php: call to format_base::get_format_or_default()
  • line 35 of /course/format/lib.php: call to format_base::instance()
  • line 2683 of /lib/modinfolib.php: call to course_get_format()
  • line 544 of /lib/modinfolib.php: call to section_info->__construct()
  • line 417 of /lib/modinfolib.php: call to course_modinfo->__construct()
  • line 2168 of /lib/modinfolib.php: call to course_modinfo::instance()
  • line 732 of /search/classes/manager.php: call to get_fast_modinfo()
  • line 1007 of /search/classes/manager.php: call to core_search\manager->get_areas_user_accesses()
  • line 906 of /search/classes/manager.php: call to core_search\manager->search()
  • line 176 of /search/index.php: call to core_search\manager->paged_search()

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /data/shares/oursite/moodle-3.9.1/cache/stores/memcached/lib.php on line 378 

དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Blair F.

Re: Site Manager Cannot Global Search

Howard Miller གིས-
Core developers གི་པར Documentation writers གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར
Yep - it would be nice if someone fixed this, MDL-63731

We've always had this problem but it got much worse in 3.8, i.e. it caused problems even further down the category structure.

Just to check - are you using Solr?
In reply to Howard Miller

Re: Site Manager Cannot Global Search

Blair F. གིས-
Particularly helpful Moodlers གི་པར
No, we have always used Simple Search. Just upgraded from 3.6 to 3.9, this morning.
In reply to Blair F.

Re: Site Manager Cannot Global Search

Howard Miller གིས-
Core developers གི་པར Documentation writers གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར
We're using Solr but I don't think that makes any difference. It runs out of memory building the data structure for all the stuff it needs to search. It works for site admins as they can see everything.
In reply to Blair F.

Re: Site Manager Cannot Global Search

Howard Miller གིས-
Core developers གི་པར Documentation writers གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར
We found it got significantly worse when we upgraded from 3.7 to 3.8. Managers lower down the category tree for whom it worked fine - it now doesn't སྐྱོ་བ།