View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018002 | phpList 3 application | Command Line | public | 03-02-16 08:39 | 23-12-20 12:00 |
Reporter | dennis.schnitzmeier | Assigned To | |||
Priority | normal | Severity | trivial | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
OS | Ubuntu | OS Version | 14.04.3 LTS | ||
Product Version | 3.2.4 | ||||
Target Version | next patch | ||||
Summary | 0018002: Undefined Index when calling via Command-Line | ||||
Description | I 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 Reproduce | This 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 Information | I 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; } | ||||
Tags | No tags attached. | ||||
|
php /path/to/phplist/lists/admin/index.php -pprocessbounces -c/path/to/phplist/lists/config/config.php I 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; } |
|
Feel free to open a PR on Github to get that fixed. |
|
@michiel that user jachhunter777 seems to be spamming, see the goo.gl URL. Can you ban them? |
|
ok, done |
|
See https://github.com/phpList/phplist3/pull/722 |
|
This was resolved with https://github.com/phpList/phplist3/pull/722 |