Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39520

Fatal error when viewing tagged courses as guest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Enable tags functionality
      2. Add tags block on frontpage
      3. Tag least one course with some tag
      4. Log out and click on tag in the "tags" block to view the list of tagged courses
      5. Make sure no errors are displayed
      6. Search courses and make sure course search displays results and categories names
      Show
      Enable tags functionality Add tags block on frontpage Tag least one course with some tag Log out and click on tag in the "tags" block to view the list of tagged courses Make sure no errors are displayed Search courses and make sure course search displays results and categories names
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-39520-master

      Description

      another forgotten include of lib/coursecatlib.php

      When trying to view tagged courses as guest:

      Fatal error: Class 'coursecat' not found in /home/marina/repositories/courserenderers/moodle/course/renderer.php on line 1699 
       
      Call Stack: 0.0004 746880 
      1. {main}() /home/marina/repositories/courserenderers/moodle/tag/index.php:0 0.1737 51873512 
      2. core_course_renderer->tagged_courses() /home/marina/repositories/courserenderers/moodle/tag/index.php:98 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13