Can't edit extensions after pbx 14 to 17 upgrade(Whoops\Exception\ErrorException...functions_common.php)

I recently performed a pbx14 to 17 upgrade and all went mostly well.

Today I attempted to edit an extension and received this error ;

Whoops \ Exception \ ErrorException (E_WARNING)
Trying to access array offset on value of type bool

Stack frames (7)
6
Whoops\Exception\ErrorException
/var/www/html/admin/modules/endpoint/functions.inc/functions_common.php2773
5
unknown
/var/www/html/admin/modules/endpoint/functions.inc/functions_common.php2773
4
endpoint_configVariables
/var/www/html/admin/modules/endpoint/functions.inc/functions_common.php61
3
endpoint_write_ext
/var/www/html/admin/modules/endpoint/functions.inc/functions_common.php313
2
endpoint_save_extensionHook
/var/www/html/admin/modules/endpoint/functions.inc.php477
1
endpoint_core_process
/var/www/html/admin/libraries/components.class.php470
0
component processconfigpage
/var/www/html/admin/config.php454

"Trying to access array offset on value of type bool"

These were once sip extensions that auto converted over to pjsip.

I don’t seem to have the same issue with any new/recent extensions only the legacy one.

Current PBX Version:
17.0.19.28
Current System Version:
12.7.8-2408-1.sng12

If anyone has any idea how to solve this issue it would be much appreciated.

Many thanks.

Hi @justincase13

Can you please check your endpoint template setting and ensure timezone value is properly configured? thanks

Hi @kgupta

It seems the problematic extensions were provisioned using a Cisco template on the original PBX using the commercial module that we don’t currently have installed. I simply removed them from the Endpoint Manager > Extension Mapping page and I was able to edit the extension as needed.

Thanks for pointing me in the right direction here you’re a life saver.

I’m not sure if I can migrate over the commercial extension from the deprecated Freepbx 14 server but we only buy Sangoma phones now to avoid having to use this module any longer.

Once again thanks for your the support on this matter very much appreciated.

Best Regards.