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

Fatal error on page load:

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Administration, Course
    • Labels:
      None
    • Environment:
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      On all pages get:

      [MAIN CONTENT GOES HERE]

      Turn on debug and get:

      Fatal error: Cannot access protected property action_icon::$actions in /home/training/moodle/lib/deprecatedlib.php on line 2963

      at the bottom of page.

      Made the following changes to the file (from a cvs diff) and all problems go away except the pop-up message window does not display (no major loss).

      I have tried searching for the root cause but not familiar enough with code.

      diff -r1.142 deprecatedlib.php
      2963c2963
      < $icon->actions[] = new popup_action('click', $icon->link->url);

      > //$icon->actions[] = new popup_action('click', $icon->link->url);
      cvs diff: Diffing adodb

      Let me know if I can do anything else.

        Attachments

          Activity

            People

            • Assignee:
              andyjdavis Andrew Davis
              Reporter:
              molnarc Christopher Molnar
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10