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

Installer broken when $CFG->theme set to 'clean'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Installation

      1. Create a valid config.php with uninstalled db
      2. Set $CFG->theme = 'simple';
      3. Try and run installer

      MAIN CONTENT GOES HERE - DLEy1kQohK]
      Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
      Debug info: Argument 2 passed to has_capability() must be an instance of context, null given, called in [dirroot]/lib/outputrenderers.php on line 487 and defined
      Error code: codingerror
      Stack trace:
      line 406 of /lib/setuplib.php: coding_exception thrown
      line 367 of /lib/accesslib.php: call to default_error_handler()
      line 487 of /lib/outputrenderers.php: call to has_capability()
      line 210 of /theme/simple/layout/general.php: call to core_renderer->standard_footer_html()
      line 841 of /lib/outputrenderers.php: call to include()
      line 771 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line ? of unknownfile: call to core_renderer->header()
      line 234 of /lib/outputrenderers.php: call to call_user_func_array()
      line 49 of /admin/renderer.php: call to plugin_renderer_base->__call()
      line 49 of /admin/renderer.php: call to core_admin_renderer->header()
      line 136 of /admin/index.php: call to core_admin_renderer->install_licence_page()
      

      If I do this with boxiee it just uses the standard theme..

            skodak Petr Skoda
            poltawski Dan Poltawski
            Sam Hemelryk Sam Hemelryk
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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