← Back to team overview

mahara-contributors team mailing list archive

[Bug 1772773] [NEW] Need to call render_items in the static way

 

Public bug reported:

There is this error reported by a forum member

error(2048, "Non-static method PluginBlocktypeMyviews::render_i...",
"/var/www/mahara1804/blocktype/myviews/lib.php", 109, array(size 8)) at
/var/www/mahara1804/blocktype/myviews/lib.php:109

See https://mahara.org/interaction/forum/topic.php?id=8260&post=33051

Looking at the places we use render_items() they are not called in a
static way

(unlike calls to render_instance() )

** Affects: mahara
     Importance: High
         Status: Confirmed

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
   Importance: Medium => High

** Changed in: mahara
    Milestone: None => 18.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1772773

Title:
  Need to call render_items in the static way

Status in Mahara:
  Confirmed

Bug description:
  There is this error reported by a forum member

  error(2048, "Non-static method PluginBlocktypeMyviews::render_i...",
  "/var/www/mahara1804/blocktype/myviews/lib.php", 109, array(size 8))
  at /var/www/mahara1804/blocktype/myviews/lib.php:109

  See https://mahara.org/interaction/forum/topic.php?id=8260&post=33051

  Looking at the places we use render_items() they are not called in a
  static way

  (unlike calls to render_instance() )

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1772773/+subscriptions


Follow ups