Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4009

community finder block, Undefined property: stdClass::$backupsize, blocks/community/renderer.php on line 263

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.3.3
    • 2.3.2
    • Local: Hub

      this notice seen during browsing search results from community finder block.

      Notice: Undefined property: stdClass::$backupsize in /var/www/moodle/blocks/community/renderer.php on line 263

      This is due to the hub web service function get_courses that sometimes does not return a backup size for the downloadable course:
      a) it should always return a backup size
      b) if the backup size is equal to zero so we may not want to return the downloadable course at all
      c) I suspect that it currently fail for backupsize < 1Mb. I checked, one of the course not receiving backupsize has a size of 0.15Mb.

            jerome Jérôme Mouneyrac
            nebgor Aparup Banerjee
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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