Project

General

Profile

Actions

Regression #14076

closed

PHP error if the configuration has an empty Auto Configuration Backup section

Added by Marcos M over 1 year ago. Updated over 1 year ago.

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>

Actions

Also available in: Atom PDF