View Issue Details

IDProjectCategoryView StatusLast Update
0018002phpList 3 applicationCommand Linepublic22-08-18 17:07
Reporterdennis.schnitzmeier 
PrioritynormalSeveritytrivialReproducibilityalways
Status newResolutionopen 
PlatformOSUbuntuOS Version14.04.3 LTS
Product Version3.2.4 
Target Versionnext patchFixed in Version 
Summary0018002: Undefined Index when calling via Command-Line
DescriptionI got following error when I call processqueue or processbounces via command-line:

PHP Notice: Undefined index: p in /path/to/phplist/lists/admin/index.php on line 729
PHP Notice: Undefined index: c in /path/to/phplist/lists/admin/index.php on line 729

Steps To ReproduceThis are the commands used in CRON but I also get the Notice when using it in terminal:

php /path/to/phplist/lists/admin/index.php -pprocessqueue -c/path/to/phplist/lists/config/config.php

php /path/to/phplist/lists/admin/index.php -pprocessbounces -c/path/to/phplist/lists/config/config.php
Additional InformationI fixed it by changing line 729 in index.php from:

$res[$cur] .= $clinearg;

to:

if(isset($res[$cur])){
  $res[$cur] .= $clinearg;
} else {
  $res[$cur] = $clinearg;
}
TagsNo tags attached.

Activities

There are no notes attached to this issue.