Undefined array key "transport" And other issues.

I am working on a fresh install of FreePBX. I am running Debian 12.8.0 on vmware. Everything was working fine. Until I started getting several errors.

When I try to “Apply Config” I get the error message “Unknown Error. Please Run: fwconsole reload --verbose”.

So natrually I go to the terminal and run that command.

root@PBX:/tmp# fwconsole reload --verbose
Reload Started

In PJSip.class.php line 531:
                                         
  [Whoops\Exception\ErrorException (2)]  
  Undefined array key "transport"        
                                         

Exception trace:
  at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:531
 Whoops\Run->handleError() at /var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:531
 FreePBX\modules\Core\Drivers\PJSip->genConfig() at /var/www/html/admin/modules/core/Core.class.php:307
 FreePBX\modules\Core->genConfig() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:99
 FreePBX\FileHooks->processNewHooks() at /var/www/html/admin/libraries/BMO/FileHooks.class.php:28
 FreePBX\FileHooks->processFileHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:340
 FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:95
 FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
 Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

reload [--json] [--dry-run] [--skip-registry-checks] [--dont-reload-asterisk]

I have also been seeing ajax errors in the gui.

I’d love to resolve this instead of reinstalling. Any assistance would be super helpful.

The best route here as a reinstall probably won’t help is to look at

See if it has been reported and if not report the bugs you find.

i just opened [bug]: Undefined array key "transport" in /var/www/html/admin/modules/endpoint/functions.inc/functions_common.php · Issue #635 · FreePBX/issue-tracker · GitHub

Update for here. Support had me check endpoint_customExt and I discovered that it had no ‘transport’ column. All the extensions with this error have endpoint_customExt entries. So if the restore from EPM 15 DROPed the endpoint_customExt table and restored the one from EPM in 15 that apparently doesn’t have a ‘transport’ column, this might be the root of the issue. Waiting on Support to comment on this discovery. FWIW.

I also discovered that all extensions with this error are NOT generating EPM provisioning files to /tftpboot/. But the extensions WITHOUT this error ARE generating provisioning files. So this appears to only be affecting the EPM-level here, not the extension’s FreePBX/Asterisk-level settings (Submit and APPLY).

While I know the OP was not dealing with EPM, the table in EPM might be in play here as well. Support provided me the following step that resolved this issue for me:

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