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

Undefined variable in block_blog_recent in PHP 5.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4.8, 2.5.4, 2.6.1
    • 2.6
    • Blocks
    • None

      One of my behat installations caught this error:

      (::) failed steps (::)
       
      01. PHP debug message/s found:
          
          Notice: Undefined property: stdClass::$text in /home/marina/repositories/pg27/moodle/blocks/blog_recent/block_blog_recent.php on line 125
          In step `And I add the "Recent blog entries" block'.        # behat_blocks::i_add_the_block()
          From scenario `Import course's contents to another course'. # /home/marina/repositories/pg27/moodle/backup/util/ui/tests/behat/import_course.feature:8
          Of feature `Import course's contents into another course'.  # /home/marina/repositories/pg27/moodle/backup/util/ui/tests/behat/import_course.feature
      

      I'm trying to find out now why it was only ONE of behat tests (and fix the actual bug)

            marina Marina Glancy
            marina Marina Glancy
            Petr Skoda Petr Skoda
            Sam Hemelryk Sam Hemelryk
            Jason Fowler Jason Fowler
            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.