Actions
Regression #14076
closedPHP error if the configuration has an empty Auto Configuration Backup section
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Auto Configuration Backup
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
All
Description
After upgrading to 23.01, the following is reported:
[25-Feb-2023 23:15:42 Europe/London] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_acb_backup.php:75
Stack trace:
#0 {main}
thrown in /usr/local/www/services_acb_backup.php on line 75
[25-Feb-2023 23:15:50 Europe/London] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_acb.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/services_acb.php on line 42
[25-Feb-2023 23:15:53 Europe/London] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_acb_backup.php:75
Stack trace:
#0 {main}
thrown in /usr/local/www/services_acb_backup.php on line 75
[25-Feb-2023 23:16:26 Europe/London] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_acb.php:42
Stack trace:
#0 {main}
thrown in /usr/local/www/services_acb.php on line 42
The config.xml cotains:
<acb></acb>
Updated by Jim Pingle over 3 years ago
- Status changed from New to In Progress
- Assignee set to Jim Pingle
- Target version set to 2.7.0
- Plus Target Version set to 23.05
Updated by Jim Pingle over 3 years ago
This one can also happen with the empty settings tag:
11:45:10 PHP ERROR: Type: 1, File: /usr/local/www/services_acb_settings.php, Line: 121, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/services_acb_settings.php:121
Stack trace:
#0 {main}
thrown
Fixes for all these and more coming shortly.
Updated by Jim Pingle over 3 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset commit:404efa211294c85fa497b756d494d41f1b0f658d.
Updated by Christopher Cope over 3 years ago
- Status changed from Feedback to Resolved
Tested on
23.05-DEVELOPMENT (amd64) built on Wed Mar 15 06:04:38 UTC 2023 FreeBSD 14.0-CURRENTWorking correctly. Marking resolved.
Updated by Jim Pingle over 3 years ago
- Subject changed from PHP error with Auto Configuration Backup to PHP error if the configuration has an empty Auto Configuration Backup section
Updating subject for release notes.
Actions
Also available in: Atom