Whoops \ Exception \ ErrorException (E_DEPRECATED) strtolower(): Passing null to parameter #1 ($string) of type string is deprecated

I updated our Version 16 to Version 17 on a new server. Got things installed and all things work. Except when I got to edit an extension.

This only happens when i try to edit or create a pjsip extension

what version of php are you running ?

php -v

This is the new versions 17 so it came with the following. Or at least the Debian server did.

@pbx:~$ php -v
PHP 8.2.22 (cli) (built: Aug 2 2024 16:01:44) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.22, Copyright (c) Zend Technologies
with the ionCube PHP Loader v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd.
with Zend OPcache v8.2.22, Copyright (c), by Zend Technologies

You said “updated”, how exactly did you do that ‘update’ ?

Installed new Debian Server per the instructions on the upgrade path from 16 to 17. Once you install the Debian Server you can pull down 17 and install freepbx. Once that was installed I pulled my backup from my 16 server and uploaded and restored to my 17 server.

I know version 17 is php 8.1 wonder if since I am at 8.2 it has a problem with that.

did it work before you restored the backup ?

It worked before I activated things, I had already restored the backup. it was only after activation that it stopped.

Sorry can’t help you there, I don’t need to ‘activate’

Thanks, probably the activation part is not related. Just shared what it was that I did to install.

FreePBX 17 is using php 8.2 and technically since ioncube released an 8.3 loader that should work fine too.

Plain and simple this is a bug. There are going to be dozens maybe hundreds of these. File a bug report. GitHub - FreePBX/issue-tracker: The unified FreePBX issue tracker.

Are you using Endpoint Manager? If not: fwconsole ma delete endpoint to work around this bug.

I am using endpoint on this, what is interesting as well is that Sangoma Connect is now having issues where the calls drop after about 20 seconds.

Any other suggestions?

Calls dropping at 20 seconds is probably a nat of firewall issue.

What are the other commands to manage extensions via fwconsole

fwconsole --help
fwconsole commmand --help

This is resolved by upgrading endpoint manager to 17.0.1.84

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.