Actions
Bug #14742
closedSeveral PHP errors in upgrade_config.inc
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
24.11
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:
Description
This file still needs to be updated to use the new accessor methods, as several errors are still occurring with certain older config imports.
For example:
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4068 Stack trace: #0 /etc/inc/config.lib.inc(513): upgrade_128_to_129() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown in /etc/inc/upgrade_config.inc on line 4068 PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 4068, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4068 Stack trace: #0 /etc/inc/config.lib.inc(513): upgrade_128_to_129() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4296 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_136_to_137() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown in /etc/inc/upgrade_config.inc on line 4296 PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 4296, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4296 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_136_to_137() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4513 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_143_to_144() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown in /etc/inc/upgrade_config.inc on line 4513 PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 4513, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4513 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_143_to_144() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5447 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_172_to_173() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown in /etc/inc/upgrade_config.inc on line 5447 PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 5447, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5447 Stack trace: #0 /etc/inc/config.lib.inc(518): upgrade_172_to_173() #1 /usr/local/pfSense/include/www/backup.inc(412): convert_config() #2 /usr/local/www/diag_backup.php(63): execPost(Array, Array) #3 {main} thrown
Related issues
Updated by Christopher Cope about 1 year ago
- Related to Bug #14859: Config upgrade error: upgrade_config.inc:6135 added
Updated by Steve Wheeler 9 months ago
- Related to Bug #15362: Config upgrade error with empty gateway interval tags. added
Updated by Jim Pingle 2 months ago
- Plus Target Version changed from 24.08 to 24.11
Actions