Project

General

Profile

Actions

Regression #13599

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

Error when disabling sshd

Added by Brad Davis about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
PHP Interpreter
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
Affected Architecture:

Description

On system_advanced_admin.php when unchecking the 'Enable Secure Shell' and saving the page give this error:

```
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pfSense/include/www/system_advanced_admin.inc:420 Stack trace: #0 /usr/local/www/system_advanced_admin.php(434): restart_SSHD() #1 {main} thrown in /usr/local/pfSense/include/www/system_advanced_admin.inc on line 420 PHP ERROR: Type: 1, File: /usr/local/pfSense/include/www/system_advanced_admin.inc, Line: 420, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pfSense/include/www/system_advanced_admin.inc:420 Stack trace: #0 /usr/local/www/system_advanced_admin.php(434): restart_SSHD() #1 {main} thrown
```

Actions

Also available in: Atom PDF