Regression #13599
closedFeature #13446: Upgrade PHP from 7.4 to 8.1
Error when disabling sshd
100%
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
```