View Issue Details

IDProjectCategoryView StatusLast Update
0017186phpList 3 applicationGeneralpublic13-02-19 12:28
Reporterduncanc Assigned To 
Status resolvedResolutionfixed 
Product Version3.0.6 
Target Version3.0.7Fixed in Version3.0.7 
Summary0017186: PHP notice about undefined index
DescriptionLine 691 in file admin/lib.php causes a PHP notice warning when error reporting is enabled.

[09-May-2014 05:30:01 Europe/London] PHP Notice: Undefined index: MC in /home/ealiyorg/public_html/lists/admin/lib.php on line 691

The code is
    if (is_object($GLOBALS['MC'])) {

$MC is populated by this code in admin/init.php, so lib.php needs to test for the variable existing.

if (defined('MEMCACHED')) {
  include_once dirname(__FILE__).'/class.memcached.php';
  if (class_exists('phpListMC')) {
    $GLOBALS['MC'] = new phpListMC();
TagsNo tags attached.



28-06-14 13:10

updater   ~0054066

See GitHub pull request