View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020005 | phpList 3 application | General | public | 01-07-19 06:58 | 21-12-20 09:44 |
Reporter | duncanc | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 3.4.3 | ||||
Summary | 0020005: php warning issued on each page load | ||||
Description | With error reporting enabled this warning is issued on every page [01-Jul-2019 06:45:13 UTC] PHP Warning: file_get_contents(): Filename cannot be empty in /home/dcameron/public_html/lists/admin/updateLib.php on line 10 the line identified is in function getCurrentphpListVersion() $version = file_get_contents($path); that is called from index.php line 532 if (showUpdateNotification() && (getCurrentphpListVersion() !== false) && extension_loaded('curl')) { This function doesn't make much sense, because the phplist version is available as the constant VERSION, but even calling it is unnecessary. It is not clear exactly what condition it is trying to handle. | ||||
Tags | No tags attached. | ||||