View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001205 | bareos-core | webui | public | 2020-02-28 09:42 | 2021-12-21 13:57 |
Reporter | Ryushin | Assigned To | frank | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Devuan (Debian) | OS Version | 10 |
Product Version | 19.2.6 | ||||
Summary | 0001205: HeadLink.php error with PHP 7.3 | ||||
Description | I received this error when trying to connecting to the webui: Notice: compact(): Undefined variable: extras in /usr/share/bareos-webui/vendor/zendframework/zend-view/src/Helper/HeadLink.php on line 403 Seems to be related to this issue: https://github.com/zendframework/zend-view/issues/172#issue-388080603 Though the line numbers for their fix is not the same. | ||||
Additional Information | I solved the issue by replacing the HeadLink.php file with an updated version from here: https://raw.githubusercontent.com/zendframework/zend-view/f7242f7d5ccec2b8c319634b4098595382ef651c/src/Helper/HeadLink.php | ||||
Tags | No tags attached. | ||||
bareos: master 0fb913c7 2021-05-31 18:45 Ported: N/A Details Diff |
webui: set default extras as empty array to prevent compact() errors PHP compact() function will create php error when $args is an empty array. See: https://github.com/zendframework/zend-view/pull/170 Fixes 0001205: HeadLink.php error with PHP 7.3 |
Affected Issues 0001205 |
|
mod - webui/vendor/zendframework/zend-view/src/Helper/HeadLink.php | Diff File | ||
bareos: bareos-18.2 9feacc87 2021-05-31 18:45 Ported: N/A Details Diff |
webui: set default extras as empty array to prevent compact() errors PHP compact() function will create php error when $args is an empty array. See: https://github.com/zendframework/zend-view/pull/170 Fixes 0001205: HeadLink.php error with PHP 7.3 (cherry picked from commit 0fb913c74d22bd73710d4e7097e1df0f662a990d) |
Affected Issues 0001205 |
|
mod - webui/vendor/zendframework/zend-view/src/Helper/HeadLink.php | Diff File | ||
bareos: bareos-19.2 a1d7e953 2021-05-31 18:45 Ported: N/A Details Diff |
webui: set default extras as empty array to prevent compact() errors PHP compact() function will create php error when $args is an empty array. See: https://github.com/zendframework/zend-view/pull/170 Fixes 0001205: HeadLink.php error with PHP 7.3 (cherry picked from commit 0fb913c74d22bd73710d4e7097e1df0f662a990d) |
Affected Issues 0001205 |
|
mod - webui/vendor/zendframework/zend-view/src/Helper/HeadLink.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-28 09:42 | Ryushin | New Issue | |
2021-04-29 10:44 | frank | Assigned To | => frank |
2021-04-29 10:44 | frank | Status | new => assigned |
2021-06-08 12:22 | frank | Changeset attached | => bareos master 0fb913c7 |
2021-06-08 12:22 | frank | Changeset attached | => bareos bareos-18.2 9feacc87 |
2021-06-08 12:22 | frank | Changeset attached | => bareos bareos-19.2 a1d7e953 |
2021-06-08 12:22 | frank | Note Added: 0004144 | |
2021-06-08 12:22 | frank | Status | assigned => resolved |
2021-06-08 12:22 | frank | Resolution | open => fixed |
2021-06-10 17:53 | arogge | Relationship added | related to 0001360 |
2021-06-11 10:47 | arogge | Relationship added | related to 0001288 |
2021-12-21 13:57 | arogge | Relationship added | related to 0001289 |