Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7349

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

Title:
  Undefined variable: type in Content screen. Prod mode=true

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  if we have these values in config.php

  $cfg->productionmode = true;
  $cfg->nocache=false;
  $cfg->log_warn_targets = LOG_TARGET_SCREEN | LOG_TARGET_ERRORLOG;

  
  Following error shows up in Content screen:

  [WAR] 32 (artefact/file/lib.php:2516) Undefined variable: type
  Call stack (most recent first):

      log_message(string(size 24), integer, true, true, string(size 87), 
integer) at 
/var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/lib/errors.php:521
      error(integer, string(size 24), string(size 87), integer, array(size 8)) 
at 
/var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/artefact/file/lib.php:2516
      ArtefactTypeProfileIcon::download_thumbnail(integer) at 
/var/www/mahara-org-testing-mahara/releases/20161215230023/htdocs/thumb.php:32

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1651018/+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