Public bug reported:

I was configuring the details of the Profil completion feature for an
institution on a new Mahara with the setting $cfg->productionmode=false.

When I saved the page I got the following warning :

Call stack (most recent first):

    log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
    error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
    sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
    call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
    format_langstring("La barre de progression du remplissage du profil d...", 
array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
    get_string_location("profilecompletenessdesc1", "admin", array(size 0)) at 
/var/mahara/htdocs/lib/mahara.php:295
    get_string("profilecompletenessdesc1", "admin") at Unknown:0
    call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
    Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
    include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
    Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
    Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
    Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244


Mahara last 16.04_STABLE pulled version

** Affects: mahara
     Importance: Undecided
         Status: New

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

Title:
  Warning when configuring the Profile completion

Status in Mahara:
  New

Bug description:
  I was configuring the details of the Profil completion feature for an
  institution on a new Mahara with the setting
  $cfg->productionmode=false.

  When I saved the page I got the following warning :

  Call stack (most recent first):

      log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
      error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
      sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
      call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
      format_langstring("La barre de progression du remplissage du profil 
d...", array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
      get_string_location("profilecompletenessdesc1", "admin", array(size 0)) 
at /var/mahara/htdocs/lib/mahara.php:295
      get_string("profilecompletenessdesc1", "admin") at Unknown:0
      call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
      Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
      include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
      Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
      Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
      Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244

  
  Mahara last 16.04_STABLE pulled version

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to