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

Coding error: trying to call a method on a non-object

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.4.1, 2.5
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-38075-m25
    • Workaround:
      Hide

      Disable the CSS optimiser.

      Show
      Disable the CSS optimiser.
    • Difficulty:
      Easy
    • Testing Instructions:
      Hide
      1. Enable the CSS optimiser.
      2. Install the bootstrap theme from the plugins database.
      3. Change to the bootstrap theme.
      4. Observe that the CSS is generated without an error. (view the CSS file in your browser and check there isn't an error at the top).
      Show
      Enable the CSS optimiser. Install the bootstrap theme from the plugins database. Change to the bootstrap theme. Observe that the CSS is generated without an error. (view the CSS file in your browser and check there isn't an error at the top).

      Description

      There is a coding error within csslib line 1751.

        Attachments

        1. MDL-38075-closed.jpg
          27 kB
          Mary Evans
        2. MDL-38075-open.jpg
          54 kB
          Mary Evans
        3. MDL-38075-optimised-view.jpg
          45 kB
          Mary Evans

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            samhemelryk Sam Hemelryk
            Peer reviewer:
            Mary Evans Mary Evans
            Integrator:
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Tester:
            David Monllaó David Monllaó
            Participants:
            Component watchers:
            Huong Nguyen, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Mar/13