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

Undefined property: stdClass::$footer in completion status block

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      See MDLQA-7104. The error was displayed if you go to the course page after step 2. Alternatively the whole QA test could be performed.

      Also view the course page as a student enrolled in the course and check that now error is displayed.

      Show
      See MDLQA-7104 . The error was displayed if you go to the course page after step 2. Alternatively the whole QA test could be performed. Also view the course page as a student enrolled in the course and check that now error is displayed.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-45172_block

      Description

      When testing MDLQA-7104 the following message appeared (even though the test itself did work correctly)

      Notice: Undefined property: stdClass::$footer in /var/www/moodle27/moodle/blocks/completionstatus/block_completionstatus.php on line 246 Call Stack: 0.0001 232960 1.

      {main}

      () /var/www/moodle27/moodle/course/view.php:0 0.0322 4891208 2. core_renderer->header() /var/www/moodle27/moodle/course/view.php:250 0.0354 5247064 3. core_renderer->render_page_layout() /var/www/moodle27/moodle/lib/outputrenderers.php:807 0.0354 5265256 4. include('/var/www/moodle27/moodle/theme/clean/layout/columns3.php') /var/www/moodle27/moodle/lib/outputrenderers.php:877 0.0357 5269544 5. core_renderer->standard_head_html() /var/www/moodle27/moodle/theme/clean/layout/columns3.php:45 0.0357 5270288 6. block_manager->ensure_content_created() /var/www/moodle27/moodle/lib/outputrenderers.php:361 0.0357 5270912 7. block_manager->create_block_contents() /var/www/moodle27/moodle/lib/blocklib.php:1040 0.0865 8127536 8. block_base->get_content_for_output() /var/www/moodle27/moodle/lib/blocklib.php:988 0.0866 8129152 9. block_base->formatted_contents() /var/www/moodle27/moodle/blocks/moodleblock.class.php:236 0.0866 8131088 10. block_completionstatus->get_content() /var/www/moodle27/moodle/blocks/moodleblock.class.php:294

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andyjdavis Andrew Davis
                Reporter:
                marycooch Mary Cooch
                Peer reviewer:
                Ankit Agarwal
                Integrator:
                Dan Poltawski
                Tester:
                Andrew Nicols
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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