Project

General

Profile

Actions

Bug #14400

closed

PHP Error in ``upgrade216_ipsec_create_vtimap()``

Added by Christopher Cope over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Configuration Upgrade
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.09
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

#Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /etc/inc/upgrade_config.inc:6479 Stack trace: 
#0 /etc/inc/upgrade_config.inc(6479): array_column(NULL, 'ifnum') 
# #1 /etc/inc/upgrade_config.inc(6505): upgrade216_ipsec_create_vtimap('33', '0') 
# #2 /etc/inc/config.lib.inc(513): upgrade_215_to_216() 
# #3 /usr/local/pfSense/include/www/backup.inc(427): convert_config() 
# #4 /usr/local/www/diag_backup.php(63): execPost(Array, Array) 
# #5 {main} thrown in /etc/inc/upgrade_config.inc on line 6479 PHP ERROR: Type: 1, File: /etc/inc/upgrade_config.inc, Line: 6479, Message: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /etc/inc/upgrade_config.inc:6479 

# 
# Stack trace: 
# #0 /etc/inc/upgrade_config.inc(6479): array_column(NULL, 'ifnum') 
# #1 /etc/inc/upgrade_config.inc(6505): upgrade216_ipsec_create_vtimap('33', '0') 
# #2 /etc/inc/config.lib.inc(513): upgrade_215_to_216() 
# #3 /usr/local/pfSense/include/www/backup.inc(427): convert_config() 
# #4 /usr/local/www/diag_backup.php(63): execPost(Array, Array) 
# #5 {main} thrown

This error is thrown when importing an older config into 23.01. Will submit a patch shortly.

Actions #1

Updated by Christopher Cope over 1 year ago

  • Status changed from New to Pull Request Review
Actions #2

Updated by Jim Pingle over 1 year ago

  • Subject changed from TypeError in ``upgrade216_ipsec_create_vtimap()`` to PHP Error in ``upgrade216_ipsec_create_vtimap()``
  • Target version set to 2.7.0
  • Plus Target Version set to 23.09
Actions #3

Updated by Christopher Cope over 1 year ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Marcos M over 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF