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

PHP error shown when viewing single blog entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.7, 2.1.4, 2.2.1
    • 2.0.6, 2.1.3, 2.2, 2.3
    • Blog
    • Appeared on qa.moodle.net and my own test servers
    • MySQL
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • wip-MDL-30541-master
    • Hide
      1. Log in in any role
      2. Navigate to Site pages -> Blogs
      3. If there are no blog entries, add one
      4. Click on the title for a blog entry

      No errors should be displayed.

      Show
      Log in in any role Navigate to Site pages -> Blogs If there are no blog entries, add one Click on the title for a blog entry No errors should be displayed.

      The following PHP error is displayed as a page is loading for a single blog entry.

      Notice: Trying to get property of non-object in D:\xampp\htdocs\moodle_testing\blog\rsslib.php on line 60

      Replication steps:

      1. Log in in any role
      2. Navigate to Site pages -> Blogs
      3. If there are no blog entries, add one
      4. Click on the title for a blog entry

      The error above is displayed as the page is loaded.

      Unlike MDL-30540, this affects all 2.x branches, but it must be a recent regression as my master from a couple of weeks ago did not show this problem.

            phalacee Jason Fowler
            salvetore Michael de Raadt
            Sam Hemelryk Sam Hemelryk
            Aparup Banerjee Aparup Banerjee
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.