FreePBX / framework

This module provides a facility to install bug fixes to the framework code that is not otherwise housed in a module
http://www.freepbx.org
GNU General Public License v3.0
64 stars 60 forks source link

Fix uninitialized variable #93

Closed jfinstrom closed 8 months ago

jfinstrom commented 8 months ago

Reference: https://community.freepbx.org/t/freepbx-17-installation-issues/93487

kguptasangoma commented 8 months ago

Hi @jfinstrom We have started seeing below issue due to your latest commit so I had to revert back the fix.

`root@fpbx17:~# fwconsole r -v Reload Started

In extensions.class.php line 199:

[Exception] died in splice macro-dial-one s

Exception trace: at /var/www/html/admin/libraries/extensions.class.php:199 extensions->splice() at /var/www/html/admin/modules/ivr/functions.inc.php:45 ivr_get_config() at /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:97 FreePBX\DialplanHooks->processHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:320 FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:92 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

`

jfinstrom commented 8 months ago

@kguptasangoma Not sure why the cleanup broke that. I was going to resubmit without the code cleanup but I see you already did. I guess there is a ghost in the machine..... Anyway thanks for looking.