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

Add/ Editing Categories / Courses / Sub courses and it crashes with a coding error detected. "paging_bar requires a perpage value"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.6, 2.3.3
    • 2.0.3, 2.2.1, 2.2.5, 2.3.2, 2.4
    • Administration
    • Windows Server 2008
    • Any
    • MOODLE_20_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Merely to go back up a level and then return down the path but its not really achieving the objective.

      Show
      Merely to go back up a level and then return down the path but its not really achieving the objective.
    • Hide
      1. access your DB and select the config table, rename 'coursesperpage' to 'coursesperpagexyz'
      2. as admin, access site admin > courses > add/edit courses
      3. select one of the categories
      4. make sure there's no error occurs
      5. access config table again and rename 'coursesperpagexyz' to 'coursesperpage'
      Show
      access your DB and select the config table, rename 'coursesperpage' to 'coursesperpagexyz' as admin, access site admin > courses > add/edit courses select one of the categories make sure there's no error occurs access config table again and rename 'coursesperpagexyz' to 'coursesperpage'

      Coding error detected, it must be fixed by a programmer: paging_bar requires a perpage value.
       
      Stack trace:
      line 1936 of \lib\outputcomponents.php: coding_exception thrown
      line 2212 of \lib\outputrenderers.php: call to paging_bar->prepare()
      line 70 of \lib\outputrenderers.php: call to core_renderer->render_paging_bar()
      line 2201 of \lib\outputrenderers.php: call to renderer_base->render()
      line 261 of \course\category.php: call to core_renderer->paging_bar()
       
      Stack trace:
      line 1936 of \lib\outputcomponents.php: coding_exception thrown
      line 2212 of \lib\outputrenderers.php: call to paging_bar->prepare()
      line 70 of \lib\outputrenderers.php: call to core_renderer->render_paging_bar()
      line 2201 of \lib\outputrenderers.php: call to renderer_base->render()
      line 261 of \course\category.php: call to core_renderer->paging_bar()

      Home / ⟩ Courses / ⟩ A / ⟩ Course 1

      You should really redirect before you start page output
      line 562 of \lib\outputrenderers.php: call to debugging()
      line 2495 of \lib\weblib.php: call to core_renderer->redirect_message()
      line 699 of \mod\scorm\locallib.php: call to redirect()
      line 14 of \course\format\scorm\format.php: call to scorm_course_format_display()
      line 240 of \course\view.php: call to require()

            rwijaya Rossiani Wijaya
            adrianrj Adrian Jones
            Ankit Agarwal Ankit Agarwal
            Aparup Banerjee Aparup Banerjee
            Aparup Banerjee Aparup Banerjee
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.