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.
Actions