← Back to team overview

mahara-contributors team mailing list archive

[Bug 1336111] Re: Error: class 'ArtefactTypeComment' does not have a method 'validate_config_options'

 

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

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

** Changed in: mahara
       Status: New => In Progress

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

-- 
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/1336111

Title:
  Error: class 'ArtefactTypeComment' does not have a method
  'validate_config_options'

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara: 1.10.0dev
  OS: Linux
  DB: Mysql (with prefix 'testing_')
  Browser: FF

  
  Steps to reproduce:

   - Log in as admin
   - Go to Administration/Extensions
   - configuring the Plugin type: artefact 'comment'
   - Select 'enable comment rating'.
   - Save.
   - Refresh the page to see the error:

  
  [WAR] 35 (lib/mahara.php:1586) call_user_func_array() expects parameter 1 to be a valid callback, class 'ArtefactTypeComment' does not have a method 'validate_config_options'
  Call stack (most recent first):

      log_message("call_user_func_array() expects parameter 1 to be a...", 8, true, true, "/var/www/maharacode/mahara/htdocs/lib/mahara.php", 1586) at /var/www/maharacode/mahara/htdocs/lib/errors.php:433
      error(2, "call_user_func_array() expects parameter 1 to be a...", "/var/www/maharacode/mahara/htdocs/lib/mahara.php", 1586, array(size 3)) at Unknown:0
      call_user_func_array(array(size 2), array(size 2)) at /var/www/maharacode/mahara/htdocs/lib/mahara.php:1586
      call_static_method("ArtefactTypeComment", "validate_config_options", object(Pieform), array(size 6)) at /var/www/maharacode/mahara/htdocs/admin/extensions/pluginconfig.php:116
      pluginconfig_validate(object(Pieform), array(size 6)) at Unknown:0
      call_user_func_array("pluginconfig_validate", array(size 2)) at /var/www/maharacode/mahara/htdocs/lib/pieforms/pieform.php:1382
      Pieform->validate(array(size 6)) at /var/www/maharacode/mahara/htdocs/lib/pieforms/pieform.php:505
      Pieform->__construct(array(size 9)) at /var/www/maharacode/mahara/htdocs/lib/pieforms/pieform.php:162
      Pieform::process(array(size 9)) at /var/www/maharacode/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 9)) at /var/www/maharacode/mahara/htdocs/admin/extensions/pluginconfig.php:78

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


References