Actions
Regression #13876
closedFeature #13446: Upgrade PHP from 7.4 to 8.1
PHP error on diag_backup.php with no packages installed
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:
Description
If there is no <installedpackages></installedpackages>
section in the firewall configuration, the diag_backup.php page ( Diagnostics > Backup/Restore ) will encounter a PHP error when testing if it should display package-related functions.
PHP ERROR: Type: 1, File: /usr/local/www/diag_backup.php, Line: 280, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/diag_backup.php:280 Stack trace: #0 {main} thrown @ 2023-01-14 12:36:28
To me, I have a fix.
Updated by Jim Pingle almost 2 years ago
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Applied in changeset a7b2504361d509f90997f26cc737169a7ca00ea6.
Updated by Jim Pingle almost 2 years ago
- Release Notes changed from Default to Force Exclusion
Updated by Jim Pingle almost 2 years ago
- Status changed from Feedback to Resolved
I was able to find a system that could reproduce the problem before this patch went in. After updating, I can no longer reproduce the error.
Actions