Project

General

Profile

Actions

Bug #14742

open

Several PHP errors in upgrade_config.inc

Added by Christopher Cope 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Low
Assignee:
Category:
Configuration Upgrade
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
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

Related to Bug #14859: Config upgrade error: upgrade_config.inc:6135New

Actions
Actions #1

Updated by Jim Pingle 6 months ago

  • Assignee set to Jim Pingle
Actions #2

Updated by Christopher Cope 5 months ago

  • Related to Bug #14859: Config upgrade error: upgrade_config.inc:6135 added
Actions

Also available in: Atom PDF