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

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

    XMLWordPrintable

Details

    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-45172_block
    • 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.

    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

              andyjdavis Andrew Davis
              marycooch Mary Cooch
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Andrew Lyons Andrew Lyons
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14