Project

General

Profile

Actions

Bug #13589

closed

pfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1

PHP Errors during cellular package installation on CE 2.7

Added by Kris Phillips over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Cellular
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.x
Affected Plus Version:
Affected Architecture:
All

Description

Full install log:

Installing pfSense-pkg-cellular...

Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
pfSense-pkg-cellular: 1.2.3_2 [pfSense]
py39-pyserial: 3.5_2 [pfSense]
py39-setuptools: 63.1.0 [pfSense]

Number of packages to be installed: 3

The process will require 9 MiB more space.
1 MiB to be downloaded.
[1/3] Fetching pfSense-pkg-cellular-1.2.3_2.pkg: ... done
[2/3] Fetching py39-pyserial-3.5_2.pkg: .......... done
[3/3] Fetching py39-setuptools-63.1.0.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/3] Installing py39-setuptools-63.1.0...
[1/3] Extracting py39-setuptools-63.1.0: .......... done
[2/3] Installing py39-pyserial-3.5_2...
[2/3] Extracting py39-pyserial-3.5_2: .......... done
[3/3] Installing pfSense-pkg-cellular-1.2.3_2...
[3/3] Extracting pfSense-pkg-cellular-1.2.3_2: ......... done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_global_functions()...
Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /usr/local/pkg/cellular.inc:151
Stack trace:
#0 /etc/inc/pkg-utils.inc(779) : eval()'d code(1): cellular_before_everything()
#1 /etc/inc/pkg-utils.inc(779): eval()
#2 /etc/inc/pkg-utils.inc(891): eval_once('cellular_before...')
#3 /etc/rc.packages(76): install_package_xml('cellular')
#4 {main}
thrown in /usr/local/pkg/cellular.inc on line 151
PHP ERROR: Type: 1, File: /usr/local/pkg/cellular.inc, Line: 151, Message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /usr/local/pkg/cellular.inc:151
Stack trace:
#0 /etc/inc/pkg-utils.inc(779) : eval()'d code(1): cellular_before_everything()
#1 /etc/inc/pkg-utils.inc(779): eval()
#2 /etc/inc/pkg-utils.inc(891): eval_once('cellular_before...')
#3 /etc/rc.packages(76): install_package_xml('cellular')
#4 {main}
thrownpkg-static: POST-INSTALL script failed

Cleaning up cache... done.

Success

Actions

Also available in: Atom PDF